feat:1.移除所有明文服务密钥,采用环境变量方式读取

2.回调信息简化 \ stylist_agent_server.py中 一部分逻辑更新
This commit is contained in:
zcr
2025-12-16 17:29:05 +08:00
parent 46b96995f0
commit 3e70324261
15 changed files with 173 additions and 152 deletions

View File

@@ -5,12 +5,13 @@ services:
dockerfile: Dockerfile
working_dir: /app
environment:
GOOGLE_APPLICATION_CREDENTIALS: /app/app/request.json
GOOGLE_APPLICATION_CREDENTIALS: /google_application_credentials.json
DEBUG: 0
volumes:
- ./app:/app/app
- ./.env:/app/.env
- ./db:/db
- ./.prod_env:/app/.env
- ./data:/data
- ./google_application_credentials.json:/google_application_credentials.json
- /etc/localtime:/etc/localtime:ro
ports:
- "10070:8000"
@@ -20,5 +21,5 @@ services:
devices:
# 告诉 Docker 使用所有可用的 NVIDIA GPU
- driver: nvidia
device_ids: ['0']
device_ids: [ '0' ]
capabilities: [ gpu ]