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 = {
|
networked-docker-containers = {
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
image = "nextcloud:fpm-alpine";
|
image = "nextcloud:fpm-alpine";
|
||||||
dependsOn = ["docker-nextcloud-postgres.service"];
|
dependsOn = ["nextcloud-postgres"];
|
||||||
volumes = [
|
volumes = [
|
||||||
"nextcloud-apps:/var/www/html/custom_apps"
|
"nextcloud-apps:/var/www/html/custom_apps"
|
||||||
"nextcloud-config:/var/www/html/config"
|
"nextcloud-config:/var/www/html/config"
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
nextcloud-nginx = {
|
nextcloud-nginx = {
|
||||||
image = "nginx:alpine";
|
image = "nginx:alpine";
|
||||||
dependsOn = ["docker-nextcloud.service"];
|
dependsOn = ["nextcloud"];
|
||||||
environment = {
|
environment = {
|
||||||
LETSENCRYPT_HOST = "nextcloud.tlater.net";
|
LETSENCRYPT_HOST = "nextcloud.tlater.net";
|
||||||
VIRTUAL_HOST = "nextcloud.tlater.net";
|
VIRTUAL_HOST = "nextcloud.tlater.net";
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
nginx-proxy-letsencrypt = {
|
nginx-proxy-letsencrypt = {
|
||||||
image = "jrcs/letsencrypt-nginx-proxy-companion";
|
image = "jrcs/letsencrypt-nginx-proxy-companion";
|
||||||
dependsOn = ["docker-nginx-proxy.service"];
|
dependsOn = ["nginx-proxy"];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/docker.sock:/var/run/docker.sock:ro"
|
"/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
"nginx-certs:/etc/nginx/certs"
|
"nginx-certs:/etc/nginx/certs"
|
||||||
|
|
Loading…
Reference in a new issue