chore: default port 8085 (app + service unit), README aligned

User's proxy expects the upstream on port 8085; defaults are aligned
across run.py, the systemd unit and the docs.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
2026-10-11 00:11:19 +02:00
parent 7c48057360
commit 505b1839dd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ python3 -m venv venv
# → http://127.0.0.1:5000 # → http://127.0.0.1:5000
``` ```
Die App lauscht auf dem lokalen HTTP-Port (default `127.0.0.1:5000`, Die App lauscht auf dem lokalen HTTP-Port (default `127.0.0.1:8085`,
überschreibbar via `HOST`/`PORT`). Ein vertrauenswürdiger Reverse Proxy überschreibbar via `HOST`/`PORT`). Ein vertrauenswürdiger Reverse Proxy
(nginx, caddy, …) beendet HTTPS und reicht intern an die App weiter. (nginx, caddy, …) beendet HTTPS und reicht intern an die App weiter.
Die App selbst muss von außen nicht erreichbar sein. Die App selbst muss von außen nicht erreichbar sein.
+1 -1
View File
@@ -20,7 +20,7 @@ Group=jonas
WorkingDirectory=/srv/crushdb WorkingDirectory=/srv/crushdb
ExecStart=/srv/crushdb/venv/bin/python /srv/crushdb/run.py ExecStart=/srv/crushdb/venv/bin/python /srv/crushdb/run.py
Environment=HOST=127.0.0.1 Environment=HOST=127.0.0.1
Environment=PORT=5000 Environment=PORT=8085
Restart=on-failure Restart=on-failure
RestartSec=3 RestartSec=3
+1 -1
View File
@@ -16,7 +16,7 @@ def main():
storage.init_db() storage.init_db()
host = os.environ.get("HOST", "127.0.0.1") host = os.environ.get("HOST", "127.0.0.1")
port = int(os.environ.get("PORT", "5000")) port = int(os.environ.get("PORT", "8085"))
app.run(host=host, port=port) app.run(host=host, port=port)