Update README with port configuration and reload notes
This commit is contained in:
parent
23f8a3d2ae
commit
731a541f00
14
README.md
14
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user