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:
@@ -8,8 +8,8 @@ SECRET_KEY=CHANGEZ-MOI-cle-secrete-unique-minimum-32-caracteres-obligatoire
|
||||
# Base de données (stockée dans le volume ./data)
|
||||
DATABASE_URL=sqlite+aiosqlite:////data/school_management.db
|
||||
|
||||
# CORS - Ajustez selon vos domaines
|
||||
CORS_ORIGINS=["http://localhost","http://localhost:80","https://votre-domaine.com"]
|
||||
# CORS - Ajustez selon vos domaines (ports Docker/Podman: 8080/8081)
|
||||
CORS_ORIGINS=["http://localhost:8081","http://localhost:8080","http://localhost:3000","https://votre-domaine.com"]
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
Reference in New Issue
Block a user