From 824ef700b245d14cd0e5609e30577fd8772a1e3a Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Wed, 3 Jul 2024 01:31:38 -0400 Subject: [PATCH] fix environments not being string Signed-off-by: ahuston-0 --- systems/palatine-hill/docker/unifi.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/systems/palatine-hill/docker/unifi.nix b/systems/palatine-hill/docker/unifi.nix index f29ba12..a9ccada 100644 --- a/systems/palatine-hill/docker/unifi.nix +++ b/systems/palatine-hill/docker/unifi.nix @@ -24,14 +24,14 @@ "5514:5514/udp" # optional ]; environment = { - PUID = 1000; - PGID = 100; + PUID = "1000"; + PGID = "100"; TZ = "America/New_York"; - MEM_LIMIT = 1024; # optional - MEM_STARTUP = 1024; # optional + MEM_LIMIT = "1024"; # optional + MEM_STARTUP = "1024"; # optional MONGO_USER = "unifi"; MONGO_HOST = "mongodb"; - MONGO_PORT = 27017; + MONGO_PORT = "27017"; MONGO_DBNAME = "unifi"; }; environmentFiles = [ config.sops.secrets."docker/unifi".path ]; @@ -40,8 +40,8 @@ mongodb = { image = "docker.io/mongo:7.0"; environment = { - PUID = 1000; - PGID = 100; + PUID = "1000"; + PGID = "100"; TZ = "America/New_York"; }; extraOptions = [ "--restart=unless-stopped" ];