feat: add Podman compatibility with non-privileged ports

- Change Docker ports from 80/8000 to 8081/8080 (non-privileged)
- Update CORS_ORIGINS in docker-compose.yml and .env.docker
- Update all documentation (README.md, DOCKER.md) with new ports
- Add Podman compatibility section to CHANGELOG.md
- Enable podman-compose usage without root privileges
This commit is contained in:
2025-11-26 06:11:38 +01:00
parent 75a251dfe8
commit 6654aa4248
5 changed files with 29 additions and 16 deletions

View File

@@ -27,9 +27,11 @@ docker-compose up -d
```
**Accès :**
- Frontend : http://localhost
- API : http://localhost:8000
- Documentation API : http://localhost:8000/api/v2/docs
- Frontend : http://localhost:8081
- API : http://localhost:8080
- Documentation API : http://localhost:8080/api/v2/docs
> 💡 **Compatibilité Podman** : Les ports 8080/8081 (>1024) permettent l'utilisation sans privilèges root
---
@@ -186,10 +188,10 @@ Les services incluent des healthchecks automatiques :
```bash
# Vérifier la santé du backend
curl http://localhost:8000/api/v2/health
curl http://localhost:8080/api/v2/health
# Vérifier la santé du frontend
curl http://localhost/
curl http://localhost:8081/
# Voir le statut Docker
docker-compose ps
@@ -268,7 +270,7 @@ server {
server_name notytex.example.com;
location / {
proxy_pass http://localhost:80;
proxy_pass http://localhost:8081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;