From 9aaec0f1f81fe6c0ca433e09df804ec96d9cd545 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 28 Sep 2024 12:26:06 -0400 Subject: [PATCH] disabled postgres --- systems/jeeves/default.nix | 2 +- systems/jeeves/docker/postgresql.nix | 30 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/systems/jeeves/default.nix b/systems/jeeves/default.nix index 119f411..b435a3a 100644 --- a/systems/jeeves/default.nix +++ b/systems/jeeves/default.nix @@ -94,8 +94,8 @@ in description = "ZFS Snapshot Manager"; requires = [ "zfs-import.target" ]; after = [ "zfs-import.target" ]; + path = [ pkgs.zfs ]; serviceConfig = { - Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs"; Type = "oneshot"; ExecStart = "${inputs.system_tools.packages.x86_64-linux.default}/bin/snapshot_manager --config-file='${./snapshot_config.toml}'"; }; diff --git a/systems/jeeves/docker/postgresql.nix b/systems/jeeves/docker/postgresql.nix index 6dbe831..f405432 100644 --- a/systems/jeeves/docker/postgresql.nix +++ b/systems/jeeves/docker/postgresql.nix @@ -13,20 +13,20 @@ in }; }; - virtualisation.oci-containers.containers = { - postgres = { - image = "postgres:16"; - ports = [ "5432:5432" ]; - volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ]; - environment = { - POSTGRES_USER = "admin"; - POSTGRES_DB = "archive"; - POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256"; - }; - environmentFiles = [/root/secrets/docker/postgres]; - autoStart = true; - user = "postgres:postgres"; - }; - }; + # virtualisation.oci-containers.containers = { + # postgres = { + # image = "postgres:16"; + # ports = [ "5432:5432" ]; + # volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ]; + # environment = { + # POSTGRES_USER = "admin"; + # POSTGRES_DB = "archive"; + # POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256"; + # }; + # environmentFiles = [/root/secrets/docker/postgres]; + # autoStart = true; + # user = "postgres:postgres"; + # }; + # }; }