Portal server mode for Dokploy: Dockerfile, PORTAL_URLS, PORTAL_SERVER
The results Portal in a Linux container (python 3.13-slim + ODBC Driver 18). PORTAL_SERVER=1: no Start / Stop (the bot runs on the Windows PC). PORTAL_URLS: allowed hosts / origins, Secure cookie when all https. RESULTS_DB_CONN (a SQL login) goes in Dokploy's environment, never here. 71 test files, 1222 tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ce9bdbd974
commit
c049cece23
9 files changed
+163
-13
No files matched your search
@@ -300,3 +300,10 @@ LOGIN_TIMEOUT_MS=120000
|
||||
NAV_TIMEOUT_MS=300000
|
||||
NAV_RETRIES=3
|
||||
CAPTCHA_ATTEMPTS=2
|
||||
|
||||
# ── Results Portal (web/) ─────────────────────────────────────────────────────
|
||||
# Unset = this PC: Windows login to the DB, http://127.0.0.1:8000, Start / Stop.
|
||||
# On the server (Dokploy) set these as the app's environment, never in Git:
|
||||
# RESULTS_DB_CONN=DRIVER={ODBC Driver 18 for SQL Server};SERVER=<host>;DATABASE=Charge_Validation;UID=<sql login>;PWD=<password>;TrustServerCertificate=yes;
|
||||
# PORTAL_URLS=https://<the address people type>
|
||||
# PORTAL_SERVER=1
|
||||
Reference in new issue
Block a user