Update README with port configuration and reload notes

This commit is contained in:
Christian 2025-12-05 14:42:43 +01:00
parent 23f8a3d2ae
commit 731a541f00

View File

@ -32,9 +32,21 @@ nano .env # Tilføj dine credentials
docker-compose up -d docker-compose up -d
# 4. Åbn browser # 4. Åbn browser
open http://localhost:8000/api/docs open http://localhost:8001/api/docs # API docs
open http://localhost:8001 # Web UI
``` ```
**Standard ports** (for at undgå konflikter):
- API: `8001` (mapped til container port 8000)
- PostgreSQL: `5433` (mapped til container port 5432)
**Note**: Auto-reload er deaktiveret som standard for at undgå log spam. Når du ændrer kode, skal du genstarte containeren:
```bash
docker-compose restart api
```
Hvis du ønsker live reload (med potentiel log spam), sæt `ENABLE_RELOAD=true` i `.env`.
### Live Deployment ### Live Deployment
```bash ```bash