services: topology-api: build: context: . dockerfile: Dockerfile env_file: - .env ports: - "${TOPOLOGY_API_PORT:-8080}:8080" restart: unless-stopped command: gunicorn --bind 0.0.0.0:8080 --workers 2 --timeout 30 "topology_api.app:create_app()"