Don't name dependsOn services docker-*.service
Apparently NixOS will handle this for us, automagically, but it isn't quite smart enough to figure out when the user added that manually.
This commit is contained in:
parent
cfee748967
commit
9f0e3082bc
|
@ -4,7 +4,7 @@
|
|||
networked-docker-containers = {
|
||||
nextcloud = {
|
||||
image = "nextcloud:fpm-alpine";
|
||||
dependsOn = ["docker-nextcloud-postgres.service"];
|
||||
dependsOn = ["nextcloud-postgres"];
|
||||
volumes = [
|
||||
"nextcloud-apps:/var/www/html/custom_apps"
|
||||
"nextcloud-config:/var/www/html/config"
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
nextcloud-nginx = {
|
||||
image = "nginx:alpine";
|
||||
dependsOn = ["docker-nextcloud.service"];
|
||||
dependsOn = ["nextcloud"];
|
||||
environment = {
|
||||
LETSENCRYPT_HOST = "nextcloud.tlater.net";
|
||||
VIRTUAL_HOST = "nextcloud.tlater.net";
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
nginx-proxy-letsencrypt = {
|
||||
image = "jrcs/letsencrypt-nginx-proxy-companion";
|
||||
dependsOn = ["docker-nginx-proxy.service"];
|
||||
dependsOn = ["nginx-proxy"];
|
||||
volumes = [
|
||||
"/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
"nginx-certs:/etc/nginx/certs"
|
||||
|
|
Loading…
Reference in a new issue