From 0fa0fc615d56c4cafbe0abd8f249534a4bf44b88 Mon Sep 17 00:00:00 2001 From: jeremygan2021 Date: Tue, 24 Feb 2026 16:12:54 +0800 Subject: [PATCH] debug --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b77462f..6f42fec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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