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

@@ -9,11 +9,11 @@ services:
container_name: notytex-backend
restart: unless-stopped
ports:
- "8000:8000"
- "8080:8000"
environment:
- DATABASE_URL=sqlite+aiosqlite:////data/school_management.db
- SECRET_KEY=${SECRET_KEY:-change-me-in-production-min-32-chars}
- CORS_ORIGINS=["http://localhost","http://localhost:80","http://localhost:3000"]
- CORS_ORIGINS=["http://localhost:8081","http://localhost:8080","http://localhost:3000"]
- LOG_LEVEL=INFO
volumes:
- ./data:/data
@@ -35,7 +35,7 @@ services:
container_name: notytex-frontend
restart: unless-stopped
ports:
- "80:80"
- "8081:80"
depends_on:
- backend
networks: