refactor: backend port 8000 → 7000 pour eviter conflits applicatifs
CI / Lint & Format (push) Failing after 16s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 17s
CI / Docker Build (push) Has been skipped

- Dockerfile: EXPOSE + CMD uvicorn --port 7000
- app/config.py: PORT default 8000 → 7000
- nginx default.conf: 6x proxy_pass backend:8000 → backend:7000
- docker-compose.prod.yml: BACKEND_PORT default 8001 → 7000, internal 7000
- docker-compose.yml (dev): 8000:8000 → 7000:7000
- imago-admin/docker-compose.yml: VITE_API_BASE_URL + port mapping → 7000
- .env.example: BACKEND_PORT=8001 → 7000
- deploy.sh: defaults + invites port 8001 → 7000
This commit is contained in:
2026-08-06 11:40:18 -04:00
parent 707d1f274b
commit 90b94e653e
8 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ SECRET_KEY=changez-moi-par-une-valeur-longue-et-aleatoire
# ── Ports (exposés sur l'hôte) ───────────────────────────────
ADMIN_PORT=3001
BACKEND_PORT=8001
BACKEND_PORT=7000
# ── Stockage ─────────────────────────────────────────────────
# "local" = fichiers sur disque
+1 -1
View File
@@ -15,7 +15,7 @@ services:
image: docker-registry.dev.home:5000/imago-backend:latest
user: "1000:1000"
ports:
- "${BACKEND_PORT:-8001}:8000"
- "${BACKEND_PORT:-7000}:7000"
env_file:
- .env
environment:
+1 -1
View File
@@ -59,7 +59,7 @@ services:
context: ..
dockerfile: Dockerfile
ports:
- "8000:8000"
- "7000:7000"
env_file:
- ../.env
environment: