version: '3.8' services: redis_db: image: 'redis:alpine' ports: - 6379:6379 container_name: redis_db command: redis-server volumes: - ./redis-data:/data db: image: postgres:14 restart: always container_name: 'postgres' environment: POSTGRES_PASSWORD: '' POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' ports: - 7432:5432 blockscout: platform: linux/x86_64 depends_on: - db - redis_db image: blockscout/blockscout:${DOCKER_TAG:-latest} build: context: .. dockerfile: ./docker/Dockerfile args: CACHE_EXCHANGE_RATES_PERIOD: "" DISABLE_READ_API: "false" API_PATH: "/" NETWORK_PATH: "/" DISABLE_WEBAPP: "false" DISABLE_WRITE_API: "false" CACHE_ENABLE_TOTAL_GAS_USAGE_COUNTER: "" CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: "" SOCKET_ROOT: "/" WOBSERVER_ENABLED: "false" ADMIN_PANEL_ENABLED: "" restart: always container_name: 'blockscout' links: - db:database 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: ENABLE_RUST_VERIFICATION_SERVICE: 'false' VISUALIZE_SOL2UML_ENABLED: 'false' ports: - 4000:4000 volumes: - ./logs/:/app/logs/