From 5c31dc3b6eb282fad84572eb0a29e2066ac42052 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 11 Feb 2024 00:20:27 -0800 Subject: [PATCH] #119 Add test Nextcloud instance using iSCSI storage --- fighter/config/nextcloud/docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/fighter/config/nextcloud/docker-compose.yml b/fighter/config/nextcloud/docker-compose.yml index 0586f3f..5a54289 100644 --- a/fighter/config/nextcloud/docker-compose.yml +++ b/fighter/config/nextcloud/docker-compose.yml @@ -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