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"
|
||||
|
||||
];
|
||||
restart = "unless-stopped";
|
||||
volumes = [
|
||||
"/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_prehooks:/docker-entrypoint-hooks.d/before-starting"
|
||||
];
|
||||
extraOptions = [
|
||||
"--restart=unless-stopped"
|
||||
"--network=haproxy-net"
|
||||
"--network=postgres-net"
|
||||
"--network=nextcloud_default"
|
||||
];
|
||||
dependsOn = [
|
||||
|
||||
"redis"
|
||||
];
|
||||
dependsOn = [ "redis" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -21,9 +21,9 @@
|
||||
"--health-timeout=5s"
|
||||
"--health-retries=15"
|
||||
"--shm-size=1gb"
|
||||
"--restart=always"
|
||||
];
|
||||
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
||||
restart = "always";
|
||||
};
|
||||
|
||||
postgres-secondary = {
|
||||
@ -41,9 +41,9 @@
|
||||
"--health-timeout=5s"
|
||||
"--health-retries=15"
|
||||
"--shm-size=1gb"
|
||||
"--restart=always"
|
||||
];
|
||||
environmentFiles = [ config.sops.secrets."docker/pg".path ];
|
||||
restart = "always";
|
||||
};
|
||||
|
||||
postgres-adminer = {
|
||||
@ -52,7 +52,10 @@
|
||||
restart = "always";
|
||||
ports = [ "4191:8080" ];
|
||||
dependsOn = [ "postgres" ];
|
||||
extraOptions = [ "--network=postgres-net" ];
|
||||
extraOptions = [
|
||||
"--restart=always"
|
||||
"--network=postgres-net"
|
||||
];
|
||||
};
|
||||
};
|
||||
sops = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user