version: '3' # template: docker-compose.yml services: niming-backend-appserver: build: . container_name: niming-backend-appserver volumes: - "appserver_data/:/app" ports: - "5000:5000" environment: - PG_HOST=postgresql+psycopg2://root:password@ip:port/niming_db - S3_ENDPOINT=ip:port - S3_ACCESS_KEY= - S3_SECRET_KEY= - S3_BUCKET=nmfs - IGRPC_HOST=ip:port - PLATFORM_ROOT_PASSWORD= - JWT_KEY= - TIMEZONE=Asia/Taipei restart: unless-stopped working_dir: /app command: python3 /app/app.py #networks: # - networkName