1
0
Fork 0

sail: wait for traefik

This commit is contained in:
Daniel Kempkens 2022-08-08 22:03:06 +02:00
parent 7d868dc341
commit 4b5199b369

View file

@ -70,7 +70,10 @@ in
service = { service = {
image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master"; image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master";
restart = "unless-stopped"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [
"ipv6nat"
"traefik"
];
networks = [ "webserver" ]; networks = [ "webserver" ];
labels = { labels = {
"traefik.enable" = "true"; "traefik.enable" = "true";
@ -91,7 +94,10 @@ in
service = { service = {
image = "ghcr.io/nifoc/nifoc.pw-docs:master"; image = "ghcr.io/nifoc/nifoc.pw-docs:master";
restart = "unless-stopped"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [
"ipv6nat"
"traefik"
];
networks = [ "webserver" ]; networks = [ "webserver" ];
labels = { labels = {
"traefik.enable" = "true"; "traefik.enable" = "true";
@ -111,7 +117,11 @@ in
service = { service = {
image = "ghcr.io/nifoc/weewx-docker:master"; image = "ghcr.io/nifoc/weewx-docker:master";
restart = "unless-stopped"; restart = "unless-stopped";
depends_on = [ "ipv6nat" "mosquitto" ]; depends_on = [
"ipv6nat"
"mosquitto"
"traefik"
];
networks = [ "webserver" ]; networks = [ "webserver" ];
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";