niming_backend/docker-compose.yml

28 lines
625 B
YAML
Raw Normal View History

2024-12-18 13:00:33 +08:00
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