mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-25 04:51:13 +00:00
30 lines
1.4 KiB
YAML
30 lines
1.4 KiB
YAML
---
|
|
version: "2.1"
|
|
services:
|
|
nextcloud:
|
|
image: linuxserver/nextcloud:latest
|
|
container_name: nextcloud
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Berlin
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/config:/config
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/data
|
|
ports:
|
|
- 9443:443
|
|
restart: unless-stopped
|
|
#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
|