Browse Source

configuration debug

master
Mohsen Taba 5 months ago
parent
commit
d5147a7aef
  1. 12
      docker-compose.prod.yml
  2. 0
      runner.sh

12
docker-compose.prod.yml

@ -7,12 +7,9 @@ services:
build:
context: .
dockerfile: Dockerfile.prod
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers=4 --timeout 560
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers=32 --timeout 560
volumes:
- staticfiles_volume:/usr/src/app/staticfiles
# /usr/src/app/static
- media_volume:/usr/src/app/media
- logs_volume:/usr/src/app/logs
- static_volume:/usr/src/app/static
ports:
- "8010:8000"
env_file:
@ -83,10 +80,7 @@ services:
volumes:
postgres_data:
staticfiles_volume:
media_volume:
# static_volume:
logs_volume:
static_volume:
redis_data:
networks:

0
runner.sh

Loading…
Cancel
Save