#!/bin/bash # Point d'entrée du conteneur web en production. # En développement, ce script est court-circuité par la directive # "command: python manage.py runserver ..." dans docker-compose.yml. set -e exec gunicorn loko.wsgi:application \ --bind 0.0.0.0:8000 \ --workers "${GUNICORN_WORKERS:-4}" \ --threads "${GUNICORN_THREADS:-2}" \ --timeout "${GUNICORN_TIMEOUT:-120}"