1
0
Fork 0

Container: Change restart behaviour

This commit is contained in:
Daniel Kempkens 2022-08-02 21:05:58 +02:00
parent ecf2237099
commit 0cb406caef
2 changed files with 12 additions and 12 deletions

View file

@ -10,7 +10,7 @@ in
image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest"; image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest";
container_name = "readsb"; container_name = "readsb";
hostname = "readsb"; hostname = "readsb";
restart = "always"; restart = "unless-stopped";
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";
"DISABLE_PERFORMANCE_GRAPHS" = "true"; "DISABLE_PERFORMANCE_GRAPHS" = "true";
@ -36,7 +36,7 @@ in
image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest"; image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest";
container_name = "mlathub"; container_name = "mlathub";
hostname = "mlathub"; hostname = "mlathub";
restart = "always"; restart = "unless-stopped";
depends_on = [ "readsb" "piaware" "adsbexchange" ]; depends_on = [ "readsb" "piaware" "adsbexchange" ];
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";
@ -55,7 +55,7 @@ in
service = { service = {
image = "ghcr.io/sdr-enthusiasts/docker-tar1090:latest"; image = "ghcr.io/sdr-enthusiasts/docker-tar1090:latest";
container_name = "tar1090"; container_name = "tar1090";
restart = "always"; restart = "unless-stopped";
depends_on = [ "readsb" "mlathub" ]; depends_on = [ "readsb" "mlathub" ];
ports = [ "8081:80" ]; ports = [ "8081:80" ];
environment = { environment = {
@ -84,7 +84,7 @@ in
service = { service = {
image = "ghcr.io/sdr-enthusiasts/docker-adsbexchange:latest"; image = "ghcr.io/sdr-enthusiasts/docker-adsbexchange:latest";
container_name = "adsbexchange"; container_name = "adsbexchange";
restart = "always"; restart = "unless-stopped";
depends_on = [ "readsb" ]; depends_on = [ "readsb" ];
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";
@ -107,7 +107,7 @@ in
service = { service = {
image = "ghcr.io/sdr-enthusiasts/docker-flightradar24:latest"; image = "ghcr.io/sdr-enthusiasts/docker-flightradar24:latest";
container_name = "fr24feed"; container_name = "fr24feed";
restart = "always"; restart = "unless-stopped";
depends_on = [ "readsb" ]; depends_on = [ "readsb" ];
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";
@ -123,7 +123,7 @@ in
service = { service = {
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest"; image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
container_name = "piaware"; container_name = "piaware";
restart = "always"; restart = "unless-stopped";
depends_on = [ "readsb" ]; depends_on = [ "readsb" ];
environment = { environment = {
"TZ" = "Europe/Berlin"; "TZ" = "Europe/Berlin";

View file

@ -9,7 +9,7 @@ in
service = { service = {
image = "robbertkl/ipv6nat:latest"; image = "robbertkl/ipv6nat:latest";
container_name = "ipv6nat"; container_name = "ipv6nat";
restart = "always"; restart = "unless-stopped";
capabilities = { capabilities = {
ALL = false; ALL = false;
NET_ADMIN = true; NET_ADMIN = true;
@ -26,7 +26,7 @@ in
service = { service = {
image = "eclipse-mosquitto:2"; image = "eclipse-mosquitto:2";
container_name = "mosquitto"; container_name = "mosquitto";
restart = "always"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [ "ipv6nat" ];
networks = [ "webserver" ]; networks = [ "webserver" ];
ports = [ "1883:1883" ]; ports = [ "1883:1883" ];
@ -41,7 +41,7 @@ in
service = { service = {
image = "traefik:v2.8"; image = "traefik:v2.8";
container_name = "traefik"; container_name = "traefik";
restart = "always"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [ "ipv6nat" ];
networks = [ "webserver" ]; networks = [ "webserver" ];
ports = [ ports = [
@ -63,7 +63,7 @@ in
ifconfig-sexy = { ifconfig-sexy = {
service = { service = {
image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master"; image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master";
restart = "always"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [ "ipv6nat" ];
networks = [ "webserver" ]; networks = [ "webserver" ];
labels = { labels = {
@ -83,7 +83,7 @@ in
nifoc-pw-docs = { nifoc-pw-docs = {
service = { service = {
image = "ghcr.io/nifoc/nifoc.pw-docs:master"; image = "ghcr.io/nifoc/nifoc.pw-docs:master";
restart = "always"; restart = "unless-stopped";
depends_on = [ "ipv6nat" ]; depends_on = [ "ipv6nat" ];
networks = [ "webserver" ]; networks = [ "webserver" ];
labels = { labels = {
@ -102,7 +102,7 @@ in
weewx = { weewx = {
service = { service = {
image = "ghcr.io/nifoc/weewx-docker:master"; image = "ghcr.io/nifoc/weewx-docker:master";
restart = "always"; restart = "unless-stopped";
depends_on = [ "ipv6nat" "mosquitto" ]; depends_on = [ "ipv6nat" "mosquitto" ];
networks = [ "webserver" ]; networks = [ "webserver" ];
environment = { environment = {