mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 15:27:08 +00:00
Update docker-compose-redis.yml
This commit is contained in:
parent
37c7f18bdc
commit
14df8dc3a3
|
@ -17,14 +17,18 @@ services:
|
||||||
- MYSQL_USER=nextcloud #SQL Nutzername
|
- MYSQL_USER=nextcloud #SQL Nutzername
|
||||||
- MYSQL_INITDB_SKIP_TZINFO=1
|
- MYSQL_INITDB_SKIP_TZINFO=1
|
||||||
- MARIADB_AUTO_UPGRADE=1
|
- MARIADB_AUTO_UPGRADE=1
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
nextcloud-redis:
|
nextcloud-redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: nextcloud-redis
|
container_name: nextcloud-redis
|
||||||
hostname: nextcloud-redis
|
hostname: nextcloud-redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: redis-server --requirepass nextcloud # Redis Passwort eingeben
|
command: redis-server --requirepass nextcloud # Redis Passwort eingeben
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
nextcloud-app:
|
nextcloud-app:
|
||||||
image: nextcloud
|
image: nextcloud
|
||||||
container_name: nextcloud-app
|
container_name: nextcloud-app
|
||||||
|
@ -46,12 +50,15 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/var/www/html/data
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/var/www/html/data
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/app:/var/www/html
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/app:/var/www/html
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
# - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`)) # pls change
|
# - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`)) # pls change
|
||||||
# - traefik.http.services.nextcloud.loadbalancer.server.port=80
|
# - traefik.http.services.nextcloud.loadbalancer.server.port=80
|
||||||
# - traefik.http.services.nextcloud.loadbalancer.server.scheme=https
|
# - traefik.http.services.nextcloud.loadbalancer.server.scheme=https
|
||||||
# - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file
|
# - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file
|
||||||
|
# - traefik.http.routers.CHANGEME.middlewares=local-ipwhitelist@file,authelia@docker
|
||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# - traefik.http.middlewares.nextcloud-dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav
|
# - 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.nextcloud-dav.replacepathregex.replacement=/remote.php/dav/
|
||||||
|
@ -61,3 +68,7 @@ services:
|
||||||
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads
|
||||||
# # Part for local lan services only
|
# # Part for local lan services only
|
||||||
# #- traefik.http.routers.privatebin.middlewares=basic-auth@file,local-ipwhitelist@file,security-headers@file
|
# #- traefik.http.routers.privatebin.middlewares=basic-auth@file,local-ipwhitelist@file,security-headers@file
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user