services: api: build: . container_name: web3wire-api environment: - DATABASE_URL=postgres://postgres:postgres@postgres:5432/web3wire?schema=public - REDIS_URL=redis://redis:6379 - APP_PORT=3000 - HOST=0.0.0.0 - API_PREFIX=/api/v1 - CRAWL_INTERVAL_MIN=10 - RETENTION_DAYS=30 ports: - "3000:3000" depends_on: - postgres - redis postgres: image: postgres:15-alpine container_name: web3wire-postgres environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DB=web3wire volumes: - pgdata:/var/lib/postgresql/data ports: - "5432:5432" redis: image: redis:7-alpine container_name: web3wire-redis ports: - "6379:6379" volumes: pgdata: