mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 08:15:34 +01:00
Fix nextcloud-cache so it doesn't run as root
This commit is contained in:
parent
78df849976
commit
4efe235d56
@ -2,6 +2,7 @@ services:
|
||||
nextcloud-cache:
|
||||
image: redis
|
||||
container_name: nextcloud-cache
|
||||
user: ${PUID}:${PGID}
|
||||
networks:
|
||||
- nextcloud
|
||||
ports:
|
||||
@ -14,8 +15,8 @@ services:
|
||||
networks:
|
||||
- nextcloud
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PW}
|
||||
- TZ=${TIMEZONE}
|
||||
- MYSQL_DATABASE=${DB_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user