From 731a541f0044dc1ee9f3a6ddec6ec8559b3451e4 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 5 Dec 2025 14:42:43 +0100 Subject: [PATCH] Update README with port configuration and reload notes --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a071f0..b026b6a 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,21 @@ nano .env # Tilføj dine credentials docker-compose up -d # 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 ```bash