nextcloud: added hostnames

This commit is contained in:
Victor Ișan 2026-03-04 17:29:01 +01:00
parent 3a588126be
commit ba1cd84a71

View File

@ -13,6 +13,7 @@ in
nextcloud = { nextcloud = {
autoStart = true; autoStart = true;
image = "nextcloud:31-apache"; image = "nextcloud:31-apache";
hostname = "nextcloud";
ports = [ ports = [
"0.0.0.0:10003:80" "0.0.0.0:10003:80"
@ -34,6 +35,7 @@ in
nextcloud-db = { nextcloud-db = {
image = "postgres:18"; # trixie image = "postgres:18"; # trixie
hostname = "nextcloud-db";
volumes = [ volumes = [
"${workDir}/db:/var/lib/postgresql" "${workDir}/db:/var/lib/postgresql"
@ -46,6 +48,7 @@ in
nextcloud-redis = { nextcloud-redis = {
image = "redis:8-alpine"; # trixie image = "redis:8-alpine"; # trixie
hostname = "nextcloud-redis";
}; };
}; };
} }