firegex custom host and better port config managment

This commit is contained in:
Domingo Dirutigliano
2025-08-17 16:23:49 +02:00
parent 81f5ea817a
commit 760529e37a
4 changed files with 126 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ ON_DOCKER = "DOCKER" in sys.argv
DEBUG = "DEBUG" in sys.argv
NORELOAD = "NORELOAD" in sys.argv
FIREGEX_PORT = int(os.getenv("PORT","4444"))
FIREGEX_HOST = os.getenv("HOST","0.0.0.0")
JWT_ALGORITHM: str = "HS256"
API_VERSION = "{{VERSION_PLACEHOLDER}}" if "{" not in "{{VERSION_PLACEHOLDER}}" else "0.0.0"