Set docker-compose pull_policy to always

pull/6767/head
Viktor Baranov 2 years ago
parent b051a0de1b
commit a9b7683611
  1. 3
      docker-compose/docker-compose-no-build-erigon.yml
  2. 3
      docker-compose/docker-compose-no-build-ganache.yml
  3. 3
      docker-compose/docker-compose-no-build-geth.yml
  4. 3
      docker-compose/docker-compose-no-build-hardhat-network.yml
  5. 3
      docker-compose/docker-compose-no-build-nethermind.yml
  6. 3
      docker-compose/docker-compose-no-build-no-db-container.yml
  7. 2
      docker-compose/docker-compose.yml

@ -29,6 +29,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
links: links:
@ -52,6 +53,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -61,6 +63,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -27,6 +27,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
links: links:
@ -53,6 +54,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -62,6 +64,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -29,6 +29,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
links: links:
@ -52,6 +53,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -61,6 +63,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -27,6 +27,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
links: links:
@ -51,6 +52,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -60,6 +62,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -29,6 +29,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
links: links:
@ -52,6 +53,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -61,6 +63,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -15,6 +15,7 @@ services:
- smart-contract-verifier - smart-contract-verifier
- redis_db - redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest} image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'blockscout' container_name: 'blockscout'
command: bash -c "bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\" && bin/blockscout start" command: bash -c "bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\" && bin/blockscout start"
@ -35,6 +36,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -44,6 +46,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

@ -58,6 +58,7 @@ services:
smart-contract-verifier: smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'smart-contract-verifier' container_name: 'smart-contract-verifier'
env_file: env_file:
@ -67,6 +68,7 @@ services:
visualizer: visualizer:
image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest} image: ghcr.io/blockscout/visualizer:${VISUALIZER_DOCKER_TAG:-latest}
pull_policy: always
restart: always restart: always
container_name: 'visualizer' container_name: 'visualizer'
env_file: env_file:

Loading…
Cancel
Save