12345678910111213141516171819202122 |
- version: "3"
- services:
- app:
- image: registry.persagy.com/sagacloud/saga_algo_api:0.5.19
- container_name: saga_algo_api
- ports:
- - "8002:8002"
- environment:
- POSTGRES_SERVER: "172.18.0.1:5432"
- POSTGRES_USER: saga
- POSTGRES_PASSWORD: deepsaga
- POSTGRES_DB: env_db
- PLATFORM_HOST: "http://api.sagacloud.cn/data-platform-3"
- TRANSFER_HOST: "http://api.sagacloud.cn/duoduo-service/transfer"
- CUSTOM_HOST: "http://api.sagacloud.cn/duoduo-service/custom-service"
- extra_hosts:
- - "api.sagacloud.cn:172.17.161.77"
- restart: always
- volumes:
- - /data/docker/volumes/saga_algo_api_vol/_data/ml_models:/code/ml_models
- - /data/docker/volumes/saga_algo_api_vol/_data/sql_app.db:/code/sql_app.db
|