fix Deployment

This commit is contained in:
2025-07-28 14:09:06 +08:00
parent 398c0fb3de
commit cdd204a9ae
4 changed files with 5 additions and 64 deletions

View File

@@ -122,8 +122,8 @@ services:
ports:
- "25000:8080"
volumes:
- app_logs:/app/logs
user: "1001:1001" # 使用非root用户运行容器
- ./logs:/app/logs
user: "1001:1001" # 使用tyapi用户运行容器 (UID 1001)
networks:
- tyapi-network
depends_on:
@@ -147,25 +147,11 @@ services:
memory: 256M
cpus: "0.3"
volumes:
postgres_data:
driver: local
redis_data:
driver: local
app_logs:
driver: local
networks:
tyapi-network: