fix restart optiosn
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
dd8e8d2af5
commit
898379ab13
@ -18,21 +18,18 @@ in
|
|||||||
"9999:80"
|
"9999:80"
|
||||||
|
|
||||||
];
|
];
|
||||||
restart = "unless-stopped";
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/ZFS-primary/nextcloud/nc_data:/var/www/html:z"
|
"/ZFS/ZFS-primary/nextcloud/nc_data:/var/www/html:z"
|
||||||
"/ZFS/ZFS-primary/nextcloud/nc_php:/usr/local/etc/php"
|
"/ZFS/ZFS-primary/nextcloud/nc_php:/usr/local/etc/php"
|
||||||
"/ZFS/ZFS-primary/nextcloud/nc_prehooks:/docker-entrypoint-hooks.d/before-starting"
|
"/ZFS/ZFS-primary/nextcloud/nc_prehooks:/docker-entrypoint-hooks.d/before-starting"
|
||||||
];
|
];
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
|
"--restart=unless-stopped"
|
||||||
"--network=haproxy-net"
|
"--network=haproxy-net"
|
||||||
"--network=postgres-net"
|
"--network=postgres-net"
|
||||||
"--network=nextcloud_default"
|
"--network=nextcloud_default"
|
||||||
];
|
];
|
||||||
dependsOn = [
|
dependsOn = [ "redis" ];
|
||||||
|
|
||||||
"redis"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
"--health-timeout=5s"
|
"--health-timeout=5s"
|
||||||
"--health-retries=15"
|
"--health-retries=15"
|
||||||
"--shm-size=1gb"
|
"--shm-size=1gb"
|
||||||
|
"--restart=always"
|
||||||
];
|
];
|
||||||
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
||||||
restart = "always";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
postgres-secondary = {
|
postgres-secondary = {
|
||||||
@ -41,9 +41,9 @@
|
|||||||
"--health-timeout=5s"
|
"--health-timeout=5s"
|
||||||
"--health-retries=15"
|
"--health-retries=15"
|
||||||
"--shm-size=1gb"
|
"--shm-size=1gb"
|
||||||
|
"--restart=always"
|
||||||
];
|
];
|
||||||
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
||||||
restart = "always";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
postgres-adminer = {
|
postgres-adminer = {
|
||||||
@ -52,7 +52,10 @@
|
|||||||
restart = "always";
|
restart = "always";
|
||||||
ports = [ "4191:8080" ];
|
ports = [ "4191:8080" ];
|
||||||
dependsOn = [ "postgres" ];
|
dependsOn = [ "postgres" ];
|
||||||
extraOptions = [ "--network=postgres-net" ];
|
extraOptions = [
|
||||||
|
"--restart=always"
|
||||||
|
"--network=postgres-net"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
sops = {
|
sops = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user