niming_igapi/docker-compose.yml

27 lines
664 B
YAML
Raw Normal View History

2024-12-18 03:06:40 +08:00
version: '3'
# template: docker-compose.yml
services:
niming-backend-igrpc:
build: .
container_name: niming-backend-igrpc
volumes:
- "igrpc_data/:/app"
ports:
- "50051:50051"
- "10000:10000" # i dont know what is listening this but this is written in docker-compose(dev)
environment:
- PG_HOST=postgresql+psycopg2://root:password@ip:port/niming_db
- ACCOUNT_USERNAME=
- ACCOUNT_PASSWORD=
- S3_ENDPOINT=ip:port
- S3_ACCESS_KEY=
- S3_SECRET_KEY=
- S3_BUCKET=nmfs
restart: unless-stopped
working_dir: /app
command: python3 /app/app.py
#networks:
# - networkName