Config docker

This commit is contained in:
ifaryd
2026-05-15 11:20:16 +00:00
parent a6ad4b525b
commit 4a5cea4a7f
15 changed files with 89 additions and 36 deletions

View File

@@ -30,12 +30,8 @@ services:
condition: service_healthy
command: >
sh -c "python manage.py migrate --noinput &&
gunicorn config.wsgi:application
--bind 0.0.0.0:8000
--workers 3
--timeout 60
--access-logfile -
--error-logfile -"
gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3
--timeout 60 --access-logfile - --error-logfile -"
# ── Nginx (reverse proxy + static files) ───────────────
nginx: