directus: undo network port mapping: for host db access network mode host required

This commit is contained in:
quitte 2024-05-19 11:38:58 +02:00
parent 68138c0a31
commit 1c8fe9ec66

View file

@ -13,7 +13,7 @@ in
"/srv/web/directus-ese/uploads:/directus/uploads" "/srv/web/directus-ese/uploads:/directus/uploads"
"/srv/web/directus-ese/database:/directus/database" "/srv/web/directus-ese/database:/directus/database"
]; ];
ports = [ "127.0.0.1:8055:8055" ]; extraOptions = [ "--network=host" ];
environment = { environment = {
"DB_CLIENT" = "pg"; "DB_CLIENT" = "pg";
"DB_HOST" = "localhost"; "DB_HOST" = "localhost";