From 78400a13db8790512e553011d52eda88f3c8408b Mon Sep 17 00:00:00 2001 From: furyhawk Date: Tue, 1 Jul 2025 20:10:25 +0800 Subject: [PATCH] feat: update Nextcloud service configuration by renaming 'app' to 'nextcloud' and adding hostnames for db and redis services --- swarm/nextcloud.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/swarm/nextcloud.yml b/swarm/nextcloud.yml index ebdd6df..252c934 100644 --- a/swarm/nextcloud.yml +++ b/swarm/nextcloud.yml @@ -4,6 +4,7 @@ services: db: # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server image: postgres:alpine + hostname: db restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -18,12 +19,14 @@ services: # https://hub.docker.com/_/redis redis: image: redis:alpine + hostname: redis restart: always networks: - nextcloud-net - app: + nextcloud: image: nextcloud:apache + hostname: nextcloud restart: always volumes: - nextcloud:/var/www/html:z