mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +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:
|
nextcloud-cache:
|
||||||
image: redis
|
image: redis
|
||||||
container_name: nextcloud-cache
|
container_name: nextcloud-cache
|
||||||
|
user: ${PUID}:${PGID}
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
ports:
|
ports:
|
||||||
@ -14,8 +15,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=${PUID}
|
||||||
- PGID=1000
|
- PGID=${PGID}
|
||||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PW}
|
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PW}
|
||||||
- TZ=${TIMEZONE}
|
- TZ=${TIMEZONE}
|
||||||
- MYSQL_DATABASE=${DB_NAME}
|
- MYSQL_DATABASE=${DB_NAME}
|
||||||
|
Loading…
Reference in New Issue
Block a user