Port 8000 -> 8067 (Docker, Compose, run.py, Caddyfile, README) wegen Port-Kollision

This commit is contained in:
Nicolas Gruber
2026-10-21 14:26:12 +02:00
parent 5c4c4a2464
commit da4acfa5eb
5 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -17,7 +17,7 @@ python -m venv .venv
.venv\Scripts\python run.py
```
Öffne http://127.0.0.1:8000
Öffne http://127.0.0.1:8067
## Konfiguration
@@ -49,7 +49,7 @@ docker build -t cis-enhanced .
# Starten (Zugangsdaten aus .env)
docker run -d --name cis-enhanced --restart unless-stopped \
-p 8000:8000 --env-file .env cis-enhanced
-p 8067:8067 --env-file .env cis-enhanced
# oder mit Compose
docker compose up -d --build
@@ -57,12 +57,12 @@ docker compose up -d --build
## Deploy (Caddy)
App auf Port 8000 starten (z.B. als systemd-Service, oder der Docker-Container
portet nach `127.0.0.1:8000`), Caddy davor:
App auf Port 8067 starten (z.B. als systemd-Service, oder der Docker-Container
portet nach `127.0.0.1:8067`), Caddy davor:
```ini
deinedomain.at {
reverse_proxy 127.0.0.1:8000
reverse_proxy 127.0.0.1:8067
}
```
@@ -75,7 +75,7 @@ After=network.target
[Service]
WorkingDirectory=/pfad/zu/cis-enhanced
ExecStart=/pfad/zu/cis-enhanced/.venv/bin/python -m uvicorn app.main:app --host 127.0.0.1 --port 8000
ExecStart=/pfad/zu/cis-enhanced/.venv/bin/python -m uvicorn app.main:app --host 127.0.0.1 --port 8067
Restart=always
User=www-data