version: '3.9' services: redis-db: extends: file: ./services/redis.yml service: redis-db db-init: extends: file: ./services/db.yml service: db-init db: depends_on: db-init: condition: service_completed_successfully extends: file: ./services/db.yml service: db backend: depends_on: - db - redis-db extends: file: ./services/backend.yml service: backend links: - db:database environment: ETHEREUM_JSONRPC_VARIANT: 'ganache' ETHEREUM_JSONRPC_WS_URL: ws://host.docker.internal:8545/ INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER: 'true' INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: 'true' CHAIN_ID: '1337' visualizer: extends: file: ./services/visualizer.yml service: visualizer sig-provider: extends: file: ./services/sig-provider.yml service: sig-provider stats-db-init: extends: file: ./services/stats.yml service: stats-db-init stats-db: depends_on: stats-db-init: condition: service_completed_successfully extends: file: ./services/stats.yml service: stats-db stats: depends_on: - stats-db - backend extends: file: ./services/stats.yml service: stats proxy: depends_on: - backend - stats extends: file: ./services/nginx.yml service: proxy