Fix running nextcloud as non-root
This commit is contained in:
parent
0d02ac5eb4
commit
4b8f19d15e
|
@ -222,6 +222,7 @@ services:
|
||||||
- nextcloud-db
|
- nextcloud-db
|
||||||
image: nextcloud:20
|
image: nextcloud:20
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
|
user: ${PUID}:${PGID}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST="nextcloud-db"
|
- MYSQL_HOST="nextcloud-db"
|
||||||
|
|
Loading…
Reference in New Issue