Prefix docker volumes with application names

This is important so that `docker volume ls` gives useful information.
This commit is contained in:
Tristan Daniël Maat 2020-07-12 18:36:52 +01:00
parent 367579f5cd
commit 3c01b94156
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 4 additions and 4 deletions

View file

@ -6,9 +6,9 @@
image = "nextcloud:fpm-alpine"; image = "nextcloud:fpm-alpine";
dependsOn = ["docker-nextcloud-postgres.service"]; dependsOn = ["docker-nextcloud-postgres.service"];
volumes = [ volumes = [
"apps:/var/www/html/custom_apps" "nextcloud-apps:/var/www/html/custom_apps"
"config:/var/www/html/config" "nextcloud-config:/var/www/html/config"
"data:/var/www/html/data" "nextcloud-data:/var/www/html/data"
]; ];
environment = { environment = {
POSTGRES_DB = "nextcloud"; POSTGRES_DB = "nextcloud";

View file

@ -28,7 +28,7 @@ in
}; };
}; };
volumes = [ volumes = [
"mail:/srv/mail" "tlaternet-mail:/srv/mail"
]; ];
environment = { environment = {
VIRTUAL_HOST = "tlater.net,www.tlater.net"; VIRTUAL_HOST = "tlater.net,www.tlater.net";