From 4b5199b36994d7d0721c5e36fae1626d75b8d64d Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 8 Aug 2022 22:03:06 +0200 Subject: [PATCH] sail: wait for traefik --- container/webserver/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/container/webserver/default.nix b/container/webserver/default.nix index da1c496..019783c 100644 --- a/container/webserver/default.nix +++ b/container/webserver/default.nix @@ -70,7 +70,10 @@ in service = { image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master"; restart = "unless-stopped"; - depends_on = [ "ipv6nat" ]; + depends_on = [ + "ipv6nat" + "traefik" + ]; networks = [ "webserver" ]; labels = { "traefik.enable" = "true"; @@ -91,7 +94,10 @@ in service = { image = "ghcr.io/nifoc/nifoc.pw-docs:master"; restart = "unless-stopped"; - depends_on = [ "ipv6nat" ]; + depends_on = [ + "ipv6nat" + "traefik" + ]; networks = [ "webserver" ]; labels = { "traefik.enable" = "true"; @@ -111,7 +117,11 @@ in service = { image = "ghcr.io/nifoc/weewx-docker:master"; restart = "unless-stopped"; - depends_on = [ "ipv6nat" "mosquitto" ]; + depends_on = [ + "ipv6nat" + "mosquitto" + "traefik" + ]; networks = [ "webserver" ]; environment = { "TZ" = "Europe/Berlin";