drive hsts, atlas hostnet

This commit is contained in:
Neale Pickett 2021-12-26 20:40:04 -07:00
parent 785dba2703
commit 60ede53245
1 changed files with 7 additions and 2 deletions

View File

@ -110,10 +110,13 @@ services:
traefik.http.routers.nextcloud.rule: "Host(`drive.woozle.org`) || PathPrefix(`/nextcloud`)"
traefik.http.routers.nextcloud.tls: "true"
traefik.http.routers.nextcloud.tls.certresolver: letsencrypt
traefik.http.routers.nextcloud.middlewares: nextcloud-caldav@docker
traefik.http.routers.nextcloud.middlewares: nextcloud-caldav@docker,sts
traefik.http.middlewares.nextcloud-caldav.redirectregex.permanent: "true"
traefik.http.middlewares.nextcloud-caldav.redirectregex.regex: ^https://(.*)/.well-known/(card|cal)dav
traefik.http.middlewares.nextcloud-caldav.redirectregex.replacement: https://$${1}/remote.php/dav/
traefik.http.middlewares.sts.headers.stsincludesubdomains: "false"
traefik.http.middlewares.sts.headers.stspreload: "true"
traefik.http.middlewares.sts.headers.stsseconds: "31536000"
traefik.http.services.nextcloud.loadbalancer.server.port: "80"
redis:
image: redis
@ -123,7 +126,7 @@ services:
target: /var/lib/redis
atlas:
image: ctassisf/ripe-atlas-alpine:amd64v8
image: ctassisf/ripe-atlas-alpine:arm64v8
volumes:
- type: bind
source: /mnt/ext/srv/atlas/etc
@ -131,6 +134,8 @@ services:
- type: bind
source: /mnt/ext/srv/atlas/status
target: /var/atlas-probe/status
networks:
- hostnet
secrets:
password: