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:
17
README.md
17
README.md
@@ -32,26 +32,33 @@ npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### **Accès**
|
||||
### **Accès (Mode Développement)**
|
||||
|
||||
- **Frontend** : http://localhost:3000
|
||||
- **API Backend** : http://localhost:8000
|
||||
- **Documentation API** : http://localhost:8000/api/v2/docs
|
||||
- **ReDoc** : http://localhost:8000/api/v2/redoc
|
||||
|
||||
### **Déploiement avec Docker** 🐳
|
||||
### **Déploiement avec Docker / Podman** 🐳
|
||||
|
||||
```bash
|
||||
# Configuration
|
||||
cp .env.docker .env
|
||||
# Éditez .env et changez SECRET_KEY
|
||||
|
||||
# Démarrage
|
||||
# Démarrage (Docker ou Podman)
|
||||
docker-compose up -d
|
||||
|
||||
# Accès: http://localhost
|
||||
# ou
|
||||
podman-compose up -d
|
||||
```
|
||||
|
||||
**Accès (Mode Docker/Podman) :**
|
||||
- **Frontend** : http://localhost:8081
|
||||
- **API Backend** : http://localhost:8080
|
||||
- **Documentation API** : http://localhost:8080/api/v2/docs
|
||||
|
||||
> 💡 **Ports sans privilèges** : Les ports 8080/8081 permettent l'utilisation avec Podman sans root
|
||||
|
||||
📖 **Documentation complète** : [`DOCKER.md`](DOCKER.md)
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user