#119 Remove nextcloud-test, move DOCKER_DATA to iSCSI drive

This commit is contained in:
Joey Hafner 2024-02-11 00:56:41 -08:00
parent 53ef1ee696
commit 51731f1fd0
3 changed files with 1 additions and 35 deletions

View File

@ -1 +1 @@
DOCKER_DATA=/mnt/md0/nextcloud
DOCKER_DATA=/mnt/iscsi/nextcloud

View File

@ -39,21 +39,6 @@ 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-test.rule=Host(`nextcloud.test.jafner.net`)
- traefik.http.routers.nextcloud-test.tls.certresolver=lets-encrypt
- traefik.http.routers.nextcloud-test.middlewares=nextcloud-test-headers@file,nextcloud-redirect@file
networks:
- web
volumes:
- /mnt/iscsi/appdata/nextcloud/config:/config
- /mnt/iscsi/appdata/nextcloud/data:/data
networks:
web:
external: true

View File

@ -61,25 +61,6 @@ http:
customResponseHeaders:
X-Robots-Tag: "noindex, nofollow"
server: ""
nextcloud-test-headers:
headers:
accessControlMaxAge: 100
sslRedirect: true
stsSeconds: 63072000
stsIncludeSubdomains: true
stsPreload: true
forceSTSHeader: true
customFrameOptionsValue: "SAMEORIGIN" #CSP takes care of this but may be needed for organizr.
contentTypeNosniff: true
browserXssFilter: true
sslForceHost: true
sslHost: "nextcloud.test.jafner.net"
referrerPolicy: "no-referrer"
#contentSecurityPolicy: "frame-ancestors '*.example.com:*';object-src 'none';script-src 'none';"
featurePolicy: "camera 'none'; geolocation 'none'; microphone 'none'; payment 'none'; usb 'none'; vr 'none';"
customResponseHeaders:
X-Robots-Tag: "noindex, nofollow"
server: ""
nextcloud-redirect:
redirectRegex:
permanent: true