更新docker-compose.yml容器名称
All checks were successful
Deploy to Server / deploy (push) Successful in 20s

This commit is contained in:
爽哒哒
2026-03-21 00:12:43 +08:00
parent 290be5d5be
commit 7e0d68112d
6 changed files with 2 additions and 335 deletions

View File

@@ -1,6 +1,7 @@
services:
backend:
build: ./backend
container_name: cywl-scoring-backend
command: sh -c "python manage.py collectstatic --noinput && python manage.py migrate && gunicorn --bind 0.0.0.0:8876 --access-logfile - --error-logfile - config.wsgi:application"
volumes:
- ./backend:/app
@@ -19,6 +20,7 @@ services:
context: ./frontend
args:
- VITE_API_URL=/api
container_name: cywl-scoring-frontend
ports:
- "8890:8890"
environment: