From da6f4a099996f4296043040965d38a128ee6f736 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 3 Aug 2023 13:30:07 -0700 Subject: [PATCH] Is the error in the healthcheck? --- mastodon-container.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mastodon-container.nix b/mastodon-container.nix index a9c1740..ea4a21f 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -129,7 +129,7 @@ in { type = str; description = "Docker image to use for Mastodon."; default = - "ghcr.io/tootsuite/mastodon:${toplevel.config.services.mastodonContainer.version}"; + "ghcr.io//mastodon:${toplevel.config.services.mastodonContainer.version}"; }; postgres = mkOption { @@ -307,10 +307,10 @@ in { # command = ''bash -c "while :; do 'hit ctrl-c!'; sleep 1; done"''; command = '' bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"''; - healthcheck.test = [ - "CMD-SHELL" - "wget -q --spider --proxy=off localhost:3000/health || exit 1" - ]; + # healthcheck.test = [ + # "CMD-SHELL" + # "wget -q --spider --proxy=off localhost:3000/health || exit 1" + # ]; depends_on = [ "postgres" "redis" ]; networks = [ "internal_network" ]; user = mkUserMap cfg.uids.mastodon;