update: docker-compose.yml

This commit is contained in:
tao.chen
2026-08-14 15:19:29 +08:00
parent be475dd0d9
commit e9a7e1a24e
-7
View File
@@ -65,13 +65,6 @@ services:
max-size: "200m" max-size: "200m"
max-file: "10" max-file: "10"
restart: unless-stopped restart: unless-stopped
# The source tree is bind-mounted for local development while /app/.venv
# is an anonymous Docker volume. Sync first so restarts never keep an
# older installed backend package.
command:
- sh
- -c
- uv sync --no-dev --no-editable --package backend && uv pip install --python /app/.venv/bin/python --reinstall --no-deps ./common ./backend && exec gunicorn --config backend/gunicorn.conf.py backend.main:app
# No host port: architecture §2.2 — only Nginx is externally reachable. # No host port: architecture §2.2 — only Nginx is externally reachable.
# No local-FS volume: backend stores everything in S3 (S3_*). # No local-FS volume: backend stores everything in S3 (S3_*).
environment: environment: