Files
2024-11-15 14:10:05 +00:00

19 lines
636 B
YAML

version: '3.9'
services:
stats:
image: ghcr.io/blockscout/stats:${STATS_DOCKER_TAG:-latest}
pull_policy: always
platform: linux/amd64
restart: always
container_name: 'stats-testnet'
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file:
- ../envs/common-stats.env
environment:
- STATS__DB_URL=postgresql://lux:oi1dAc9bad8MSc2da51a2544f0cb8e16lb21A@host-postgres:5432/stats_luxtest
- STATS__BLOCKSCOUT_DB_URL=postgresql://lux:oi1dAc9bad8MSc2da51a2544f0cb8e16lb21A@host-postgres:5432/explorer_luxtest
- STATS__CREATE_DATABASE=true
- STATS__RUN_MIGRATIONS=true