mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-21 15:36:49 +00:00
feat: update Nextcloud service configuration by renaming 'app' to 'nextcloud' and adding hostnames for db and redis services
This commit is contained in:
+4
-1
@@ -4,6 +4,7 @@ services:
|
|||||||
db:
|
db:
|
||||||
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
|
hostname: db
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- db:/var/lib/postgresql/data:Z
|
||||||
@@ -18,12 +19,14 @@ services:
|
|||||||
# https://hub.docker.com/_/redis
|
# https://hub.docker.com/_/redis
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
hostname: redis
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- nextcloud-net
|
- nextcloud-net
|
||||||
|
|
||||||
app:
|
nextcloud:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
|
hostname: nextcloud
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z
|
- nextcloud:/var/www/html:z
|
||||||
|
|||||||
Reference in New Issue
Block a user