2023-02-15 21:45:31 +00:00
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
nextcloud:
|
|
|
|
image: linuxserver/nextcloud:latest
|
|
|
|
container_name: nextcloud
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
volumes:
|
|
|
|
- /mnt/docker-volumes/nextcloud/config:/config
|
|
|
|
- /mnt/docker-volumes/nextcloud/data:/data
|
|
|
|
ports:
|
|
|
|
- 9443:443
|
|
|
|
restart: unless-stopped
|
2023-02-19 02:03:51 +00:00
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`))
|
|
|
|
# - traefik.http.services.nextcloud.loadbalancer.server.port=443
|
|
|
|
# - traefik.http.services.nextcloud.loadbalancer.server.scheme=https
|
|
|
|
# - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# - traefik.http.middlewares.nextcloud-dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav
|
|
|
|
# - traefik.http.middlewares.nextcloud-dav.replacepathregex.replacement=/remote.php/dav/
|
|
|
|
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads
|
|
|
|
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads
|
|
|
|
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads
|
|
|
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads
|