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: build:
context: . context: .
dockerfile: Dockerfile.prod 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: 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: ports:
- "8010:8000" - "8010:8000"
env_file: env_file:
@ -83,10 +80,7 @@ services:
volumes: volumes:
postgres_data: postgres_data:
staticfiles_volume:
media_volume:
# static_volume:
logs_volume:
static_volume:
redis_data: redis_data:
networks: networks:

0
runner.sh

Loading…
Cancel
Save