Prefix docker volumes with application names
This is important so that `docker volume ls` gives useful information.
This commit is contained in:
parent
367579f5cd
commit
3c01b94156
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue