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:
Tristan Daniël Maat 2020-07-13 21:39:31 +01:00
parent cfee748967
commit 9f0e3082bc
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 3 additions and 3 deletions

View file

@ -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";

View file

@ -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"