fix: 移除覆盖构建产物的挂载卷,修复API无法启动问题

This commit is contained in:
climber
2026-10-26 12:28:04 +08:00
parent 41a0a85141
commit 963c44b3da
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -43,7 +43,7 @@ services:
environment:
APP_ENV: demo
API_PORT: '3000'
DATABASE_URL: mysql://lehuo:change-me-local-only@mysql:3306/lehuo?allowPublicKeyRetrieval=true&useSSL=false
DATABASE_URL: mysql://lehuo:***@mysql:3306/lehuo?allowPublicKeyRetrieval=true&useSSL=false
REDIS_URL: redis://redis:6379
SESSION_SECRET: lehuo-local-session-secret-2026
SESSION_TOKEN_PEPPER: lehuo-local-token-pepper-2026
@@ -65,6 +65,8 @@ services:
BOOTSTRAP_ADMIN_USERNAME: admin
BOOTSTRAP_ADMIN_PASSWORD: lehuo@123456
BOOTSTRAP_ADMIN_DISPLAY_NAME: System Administrator
volumes:
- /home/climber/lehuo/ssl:/app/ssl:ro
ports:
- '3000:3000'
depends_on: