From 616b3c64f76fbd01d71bf7770f0c4403471de845 Mon Sep 17 00:00:00 2001 From: quitte Date: Sun, 19 May 2024 11:25:15 +0200 Subject: [PATCH] ese directus: use port mapping insted of network mode=host --- modules/web/ese.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/web/ese.nix b/modules/web/ese.nix index f55430c..9398b48 100644 --- a/modules/web/ese.nix +++ b/modules/web/ese.nix @@ -7,7 +7,6 @@ in sops.secrets."directus_env" = { }; environment.systemPackages = [ pkgs.nodejs_21 ]; virtualisation.oci-containers = { - # backend = "docker"; containers.directus-ese = { image = "directus/directus:latest"; volumes = [ @@ -15,7 +14,6 @@ in "/srv/web/directus-ese/database:/directus/database" ]; ports = [ "127.0.0.1:8055:8055" ]; - extraOptions = [ "--network=host" ]; environment = { "DB_CLIENT" = "pg"; "DB_HOST" = "localhost";