Make the backend port configurable: first free port from 8001, stored in /etc/pyquest/env, shared by service and nginx

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-17 12:27:29 +02:00
parent ed2b0a5552
commit 1b702176ad
10 changed files with 103 additions and 14 deletions
+3
View File
@@ -15,5 +15,8 @@ PYQUEST_DB_PASSWORD=__A_REMPLIR__
PYQUEST_DB_HOST=127.0.0.1
PYQUEST_DB_PORT=3306
# Port local de gunicorn (nginx y relaie /api/). server_setup.sh choisit le premier port libre à partir de 8001.
PYQUEST_PORT=8001
# Fichiers statiques de l'administration (servis par nginx sous /api/static/).
PYQUEST_STATIC_ROOT=/var/www/pyquest/static