refactor: backend port 8000 → 7000 pour eviter conflits applicatifs
- 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:
+2
-2
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user