Skip to content

Commit 0e46146

Browse files
authored
Merge pull request #5308 from Agenta-AI/fix/loopback-datastore-ports
fix(hosting): bind Postgres and the dashboard to loopback by default
2 parents 8088a22 + e08e5e9 commit 0e46146

7 files changed

Lines changed: 14 additions & 14 deletions

hosting/docker-compose/ee/docker-compose.dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ services:
468468
networks:
469469
- agenta-network
470470
ports:
471-
- "${POSTGRES_PORT:-5432}:5432"
471+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
472472
# === LIFECYCLE ============================================ #
473473
restart: always
474474
healthcheck:
@@ -655,7 +655,7 @@ services:
655655
- agenta-network
656656
ports:
657657
- "${TRAEFIK_PORT:-80}:80"
658-
- "${TRAEFIK_UI_PORT:-8080}:8080"
658+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
659659
# === LIFECYCLE ============================================ #
660660
restart: always
661661
healthcheck:

hosting/docker-compose/ee/docker-compose.gh.local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ services:
327327
networks:
328328
- agenta-ee-gh-network
329329
ports:
330-
- "${POSTGRES_PORT:-5432}:5432"
330+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
331331
# === LIFECYCLE ============================================ #
332332
restart: always
333333
healthcheck:
@@ -417,7 +417,7 @@ services:
417417
- agenta-ee-gh-network
418418
ports:
419419
- "${TRAEFIK_PORT:-80}:80"
420-
- "${TRAEFIK_UI_PORT:-8080}:8080"
420+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
421421
# === LIFECYCLE ============================================ #
422422
restart: always
423423

hosting/docker-compose/ee/docker-compose.gh.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ services:
341341
networks:
342342
- agenta-ee-gh-network
343343
ports:
344-
- "${POSTGRES_PORT:-5432}:5432"
344+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
345345
# === LIFECYCLE ============================================ #
346346
restart: always
347347
healthcheck:
@@ -489,7 +489,7 @@ services:
489489
- agenta-ee-gh-network
490490
ports:
491491
- "${TRAEFIK_PORT:-80}:80"
492-
- "${TRAEFIK_UI_PORT:-8080}:8080"
492+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
493493
# === LIFECYCLE ============================================ #
494494
restart: always
495495

hosting/docker-compose/oss/docker-compose.dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ services:
451451
networks:
452452
- agenta-network
453453
ports:
454-
- "${POSTGRES_PORT:-5432}:5432"
454+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
455455
# === LIFECYCLE ============================================ #
456456
restart: always
457457
healthcheck:
@@ -634,7 +634,7 @@ services:
634634
- agenta-network
635635
ports:
636636
- "${TRAEFIK_PORT:-80}:80"
637-
- "${TRAEFIK_UI_PORT:-8080}:8080"
637+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
638638
# === LIFECYCLE ============================================ #
639639
restart: always
640640
healthcheck:

hosting/docker-compose/oss/docker-compose.gh.local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ services:
325325
networks:
326326
- agenta-oss-gh-network
327327
ports:
328-
- "${POSTGRES_PORT:-5432}:5432"
328+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
329329
# === LIFECYCLE ============================================ #
330330
restart: always
331331
healthcheck:
@@ -417,7 +417,7 @@ services:
417417
- agenta-oss-gh-network
418418
ports:
419419
- "${TRAEFIK_PORT:-80}:80"
420-
- "${TRAEFIK_UI_PORT:-8080}:8080"
420+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
421421
# === LIFECYCLE ============================================ #
422422
restart: always
423423

hosting/docker-compose/oss/docker-compose.gh.ssl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ services:
349349
networks:
350350
- agenta-gh-ssl-network
351351
ports:
352-
- "${POSTGRES_PORT:-5432}:5432"
352+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
353353
# === LIFECYCLE ============================================ #
354354
restart: always
355355
healthcheck:
@@ -431,7 +431,7 @@ services:
431431
- agenta-gh-ssl-network
432432
ports:
433433
- "${TRAEFIK_PORT:-80}:80"
434-
- "${TRAEFIK_UI_PORT:-8080}:8080"
434+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
435435
- "${TRAEFIK_HTTPS_PORT:-443}:443"
436436
# === LIFECYCLE ============================================ #
437437
restart: always

hosting/docker-compose/oss/docker-compose.gh.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ services:
358358
networks:
359359
- agenta-oss-gh-network
360360
ports:
361-
- "${POSTGRES_PORT:-5432}:5432"
361+
- "${POSTGRES_PORT:-127.0.0.1:5432}:5432"
362362
# === LIFECYCLE ============================================ #
363363
restart: always
364364
healthcheck:
@@ -509,7 +509,7 @@ services:
509509
- agenta-oss-gh-network
510510
ports:
511511
- "${TRAEFIK_PORT:-80}:80"
512-
- "${TRAEFIK_UI_PORT:-8080}:8080"
512+
- "127.0.0.1:${TRAEFIK_UI_PORT:-8080}:8080"
513513
# === LIFECYCLE ============================================ #
514514
restart: always
515515

0 commit comments

Comments
 (0)