mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-04-15 09:07:36 +00:00
Update docker-compose-redis.yml
fix compose
This commit is contained in:
parent
a9b60ca470
commit
18dc96c911
@ -37,6 +37,8 @@ services:
|
|||||||
container_name: nextcloud-app
|
container_name: nextcloud-app
|
||||||
hostname: nextcloud-app
|
hostname: nextcloud-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -45,16 +47,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
OVERWRITEPROTOCOL: https
|
#OVERWRITEPROTOCOL: http # switch to https if using a reverse proxy
|
||||||
OVERWRITECLIURL: https://cloud.example.com # pls change
|
#OVERWRITECLIURL: http://127.0.0.1:8080 # adjust protocol and ip/domain
|
||||||
OVERWRITEHOST: cloud.example.com # pls change
|
#OVERWRITEHOST: 127.0.0.1:8080 # adjust ip/domain
|
||||||
TRUSTED_PROXIES: 172.18.0.2/16
|
#TRUSTED_PROXIES: 172.18.0.2/16 # enable if run behind reverse proxy
|
||||||
MYSQL_HOST: nextcloud-db
|
MYSQL_HOST: nextcloud-db
|
||||||
MYSQL_DATABASE: nextcloud
|
MYSQL_DATABASE: nextcloud
|
||||||
MYSQL_USER: nextcloud
|
MYSQL_USER: nextcloud
|
||||||
MYSQL_PASSWORD: nextcloud
|
MYSQL_PASSWORD: nextcloud
|
||||||
REDIS_HOST: nextcloud-redis
|
REDIS_HOST: nextcloud-redis
|
||||||
REDIS_HOST_PASSWORD: nextcloud # Redis Passwort von oben wieder eingeben
|
REDIS_HOST_PASSWORD: nextcloud
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user