|
@@ -2,7 +2,7 @@ version: "3"
|
|
|
|
|
|
services:
|
|
|
app:
|
|
|
- image: registry.persagy.com/sagacloud/saga_algo_api:0.5.16
|
|
|
+ image: registry.persagy.com/sagacloud/saga_algo_api:0.5.17
|
|
|
container_name: saga_algo_api
|
|
|
ports:
|
|
|
- "8002:8002"
|
|
@@ -11,8 +11,12 @@ services:
|
|
|
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:/code/ml_models
|
|
|
+ - /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
|