From 9bad9cff5847af93b9faa311780107ee05b75cf4 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 14 May 2023 09:57:06 -0400 Subject: [PATCH] services: remove ports --- modules/services/foundryvtt.nix | 1 - modules/services/homepage.nix | 1 - modules/services/hugo.nix | 2 +- modules/services/searxng.nix | 3 +-- modules/services/stash.nix | 3 --- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/services/foundryvtt.nix b/modules/services/foundryvtt.nix index 550f447..e9542fd 100644 --- a/modules/services/foundryvtt.nix +++ b/modules/services/foundryvtt.nix @@ -1,7 +1,6 @@ {config, ...}: { virtualisation.oci-containers.containers.foundryvtt = { image = "felddy/foundryvtt:release"; - ports = ["30000:30000"]; volumes = [ "/home/notoh/docker/foundryvtt:/data" ]; diff --git a/modules/services/homepage.nix b/modules/services/homepage.nix index ea065f5..2ec4512 100644 --- a/modules/services/homepage.nix +++ b/modules/services/homepage.nix @@ -1,6 +1,5 @@ {pkgs, ...}: { virtualisation.oci-containers.containers.homepage = { - ports = ["3000:3000"]; image = "ghcr.io/benphelps/homepage"; volumes = [ "/home/notoh/docker/homepage:/app/config" diff --git a/modules/services/hugo.nix b/modules/services/hugo.nix index fa60e40..00fa7a3 100644 --- a/modules/services/hugo.nix +++ b/modules/services/hugo.nix @@ -2,7 +2,7 @@ environment.systemPackages = with pkgs; [hugo]; virtualisation.oci-containers.containers.hugo = { image = "klakegg/hugo:0.101.0"; - cmd = ["server" "sh"]; + cmd = ["server"]; volumes = [ "/home/notoh/docker/hugo:/src" ]; diff --git a/modules/services/searxng.nix b/modules/services/searxng.nix index d71cf08..729649d 100644 --- a/modules/services/searxng.nix +++ b/modules/services/searxng.nix @@ -1,12 +1,11 @@ {...}: { virtualisation.oci-containers.containers.searxng = { image = "searxng/searxng"; - ports = ["8085:8080"]; volumes = [ "/home/notoh/docker/searxng:/etc/searxng:rw" ]; environment = { - INSTANCE_NAME = "test_instance"; + INSTANCE_NAME = "SearXNG"; }; }; } diff --git a/modules/services/stash.nix b/modules/services/stash.nix index dc90cbb..0d4b0b7 100644 --- a/modules/services/stash.nix +++ b/modules/services/stash.nix @@ -1,9 +1,6 @@ {...}: { virtualisation.oci-containers.containers.stash = { image = "stashapp/stash"; - ports = [ - "9999:9999" - ]; environment = { STASH_STASH = "/data/"; STASH_GENERATED = "/generated/";