mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
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
|
|
expose:
|
|
- 443
|
|
ports:
|
|
- 9443:443
|
|
restart: unless-stopped
|
|
#networks:
|
|
# - proxy
|
|
#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.http.routers.nextcloud.middlewares=local-ipwhitelist@file,authelia@docker
|
|
# - 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
|
|
|
|
#networks:
|
|
# proxy:
|
|
# external: true
|