Update docker-compose-redis.yml

fix compose file
This commit is contained in:
LRVT 2024-05-16 16:56:25 +02:00 committed by GitHub
parent 5a0877c910
commit a9b60ca470
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,9 @@ 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
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
#networks: #networks:
# - proxy # - proxy
@ -33,7 +36,6 @@ services:
image: nextcloud image: nextcloud
container_name: nextcloud-app container_name: nextcloud-app
hostname: nextcloud-app hostname: nextcloud-app
user: 1000:1000
restart: unless-stopped restart: unless-stopped
ports: ports:
- 8080:80 - 8080:80
@ -41,10 +43,16 @@ services:
- nextcloud-db - nextcloud-db
- nextcloud-redis - nextcloud-redis
environment: environment:
TRUSTED_PROXIES: 172.18.0.2/16 PUID: 1000
PGID: 1000
OVERWRITEPROTOCOL: https OVERWRITEPROTOCOL: https
OVERWRITECLIURL: https://cloud.example.com # pls change OVERWRITECLIURL: https://cloud.example.com # pls change
OVERWRITEHOST: cloud.example.com # pls change OVERWRITEHOST: cloud.example.com # pls change
TRUSTED_PROXIES: 172.18.0.2/16
MYSQL_HOST: nextcloud-db
MYSQL_DATABASE: nextcloud
MYSQL_USER: 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 # Redis Passwort von oben wieder eingeben
volumes: volumes: