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
+2 -2
View File
@@ -84,7 +84,7 @@ configure_env() {
echo -e "${BOLD}── Application ──${NC}"
ask "Nom de l'application [Imago]:"; read -r APP_NAME; APP_NAME="${APP_NAME:-Imago}"
ask "Port admin UI [3001]:"; read -r ADMIN_PORT; ADMIN_PORT="${ADMIN_PORT:-3001}"
ask "Port API backend [8001]:"; read -r BACKEND_PORT; BACKEND_PORT="${BACKEND_PORT:-8001}"
ask "Port API backend [7000]:"; read -r BACKEND_PORT; BACKEND_PORT="${BACKEND_PORT:-7000}"
echo ""
# ── Section 2 : Stockage ───────────────────────────────
@@ -409,7 +409,7 @@ show_urls() {
done < "$ENV_FILE"
fi
local admin_port="${ADMIN_PORT:-3001}"
local backend_port="${BACKEND_PORT:-8001}"
local backend_port="${BACKEND_PORT:-7000}"
echo ""
echo -e "${BOLD}${GREEN}╔══════════════════════════════════════════════════════════════╗${NC}"