Skip to content

Commit

Permalink
Create docker-compose-no-build-no-db-container-dmc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Stonygan authored Jun 6, 2023
1 parent 57451bf commit 586e394
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docker-compose/docker-compose-no-build-no-db-container-dmc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
version: '3.8'

services:
redis_db:
extends:
file: ./services/docker-compose-redis.yml
service: redis_db

blockscout:
depends_on:
- smart-contract-verifier
- redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
pull_policy: always
restart: always
stop_grace_period: 5m
container_name: 'blockscout'
command: bash -c "bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\" && bin/blockscout start"
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file:
- ./envs/common-blockscout.env
environment:
ETHEREUM_JSONRPC_VARIANT: 'geth'
ETHEREUM_JSONRPC_HTTP_URL: http://host.docker.internal:20555/
DATABASE_URL: postgresql://postgres:@host.docker.internal:5432/blockscout?ssl=false
ECTO_USE_SSL: 'false'
SECRET_KEY_BASE: '56NtB48ear7+wMSf0IQuWDAAazhpb31qyc7GiyspBP2vh7t5zlCsF5QDv76chXeN'
ports:
- 4000:4000
volumes:
- ./logs/:/app/logs/

smart-contract-verifier:
extends:
file: ./services/docker-compose-smart-contract-verifier.yml
service: smart-contract-verifier

visualizer:
extends:
file: ./services/docker-compose-visualizer.yml
service: visualizer

sig-provider:
extends:
file: ./services/docker-compose-sig-provider.yml
service: sig-provider

0 comments on commit 586e394

Please sign in to comment.