fix: use unique alias notesfrais-backend to avoid DNS conflict with other apps

This commit is contained in:
deploy
2026-04-30 22:42:30 +02:00
parent d6b681bb5b
commit a1e7aa46d5
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ services:
condition: service_healthy
restart: unless-stopped
networks:
- internal
internal:
aliases:
- notesfrais-backend
# ── Frontend nginx ──────────────────────────────────────────
frontend:
+1 -1
View File
@@ -22,7 +22,7 @@ server {
# ── API → backend (service Docker interne) ────────────────
location /api/ {
proxy_pass http://backend:3001/api/;
proxy_pass http://notesfrais-backend:3001/api/;
proxy_http_version 1.1;
proxy_set_header Host $host;