version: '3.8' services: api-proxy: build: . container_name: api-proxy-server ports: - "8000:8000" environment: - PORT=8000 restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000/stats"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: - api-proxy-network networks: api-proxy-network: driver: bridge