Wydzielenie bazy danych planki do osobnej sieci db_net

This commit is contained in:
Admin
2026-03-17 23:42:24 +01:00
committed by KrzysztofC
parent 7614de074c
commit 8ff76615ce

View File

@@ -12,7 +12,7 @@ services:
# - 30230:1337
networks:
- central_dogma
- default
- db_net
# TO JEST KLUCZ DO ROZWIĄZANIA PROBLEMU "ENOTFOUND"
extra_hosts:
@@ -51,6 +51,8 @@ services:
postgres:
image: postgres:16-alpine
restart: on-failure
networks:
- db_net
volumes:
- db-data:/var/lib/postgresql/data
environment:
@@ -82,3 +84,5 @@ volumes:
networks:
central_dogma:
external: true
db_net:
internal: true