debug
All checks were successful
Deploy to Server / deploy (push) Successful in 16s

This commit is contained in:
jeremygan2021
2026-02-24 16:12:54 +08:00
parent 9dff3c074d
commit 0fa0fc615d

View File

@@ -1,7 +1,7 @@
services:
backend:
build: ./backend
# 使用 gunicorn 替代 runserver提高稳定性并捕获标准输出
# 使用 gunicorn 替代 runserver提高稳定性并捕获标准输出1
command: sh -c "python manage.py collectstatic --noinput && python manage.py migrate && gunicorn --bind 0.0.0.0:8000 --access-logfile - --error-logfile - config.wsgi:application"
volumes:
- ./backend:/app