#119 Add test Nextcloud instance using iSCSI storage

This commit is contained in:
Joey Hafner 2024-02-11 00:20:27 -08:00
parent bf020b4a68
commit 5c31dc3b6e

View File

@ -39,6 +39,22 @@ services:
volumes:
- $DOCKER_DATA/redis:/data
nextcloud-test:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud_nextcloud-test
env_file:
- nextcloud.env
labels:
- traefik.http.routers.nextcloud.rule=Host(`nextcloud-test.jafner.net`)
- traefik.http.routers.nextcloud.tls.certresolver=lets-encrypt
- traefik.http.routers.nextcloud.middlewares=nextcloud-headers@file,nextcloud-redirect@file
networks:
- web
- nextcloud
volumes:
- /mnt/iscsi/appdata/nextcloud/config:/config
- /mnt/iscsi/appdata/nextcloud/data:/data
networks:
web:
external: true