fix: use unique alias notesfrais-backend to avoid DNS conflict with other apps
This commit is contained in:
+3
-1
@@ -42,7 +42,9 @@ services:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
internal:
|
||||
aliases:
|
||||
- notesfrais-backend
|
||||
|
||||
# ── Frontend nginx ──────────────────────────────────────────
|
||||
frontend:
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user