27 lines
664 B
YAML
27 lines
664 B
YAML
|
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
|