2023-02-15 21:45:31 +00:00
|
|
|
services:
|
|
|
|
nextcloud:
|
|
|
|
image: linuxserver/nextcloud:latest
|
|
|
|
container_name: nextcloud
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/config:/config
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/data
|
2024-05-14 22:11:35 +00:00
|
|
|
expose:
|
2024-05-16 20:01:41 +00:00
|
|
|
- 443
|
2023-02-15 21:45:31 +00:00
|
|
|
ports:
|
|
|
|
- 9443:443
|
|
|
|
restart: unless-stopped
|
2024-05-14 22:23:31 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
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
|
2024-05-14 22:11:35 +00:00
|
|
|
# - traefik.http.routers.nextcloud.middlewares=local-ipwhitelist@file,authelia@docker
|
2023-02-19 02:03:51 +00:00
|
|
|
# - 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
|
2024-05-14 22:11:35 +00:00
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|