#35 use gunicorn for running the backend in production

This commit is contained in:
nobohan
2022-07-11 16:32:41 +02:00
parent 7d5d821bae
commit 66f818e54f
4 changed files with 60 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
# Langue du serveur
# valeur possible : fr_FR.UTF-8, en_US.utf8
# valeur possible : fr_FR.UTF-8, en_US.utf8
# locale -a pour voir la liste des locales disponible
my_local=fr_FR.UTF-8
@@ -25,7 +25,7 @@ admin_password=MotDePasseAChanger
################################
# Localisation du server PostgreSQL.
# Localisation du server PostgreSQL.
# Les scripts d'installation automatique ne fonctionnent que si votre BDD est sur le même serveur (localhost)
pg_host=db
# Port sur lequel PostgreSQL ecoute
@@ -43,6 +43,6 @@ user_pg_pass=postgres
app_name=gncitizen
gun_num_workers=2
gun_host=localhost
gun_host=0.0.0.0
gun_port=5002
gun_timeout=30