Switch to Gunicorn

This commit is contained in:
ack
2026-01-21 02:13:00 +03:00
parent bb9e248c24
commit 74ef625c88
2 changed files with 14 additions and 3 deletions

11
docker-compose copy.yml Normal file
View File

@@ -0,0 +1,11 @@
version: '3.8'
services:
web:
build: .
volumes:
- .:/app
ports:
- "8080:8000"
environment:
- DEBUG=1

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
web: web:
build: . build: .
@@ -9,3 +7,5 @@ services:
- "8080:8000" - "8080:8000"
environment: environment:
- DEBUG=1 - DEBUG=1
# Новая команда для Gunicorn
command: gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 3