diff --git a/docker/stacks/nextcloud/nextcloud.yml b/docker/stacks/nextcloud/nextcloud.yml index 90b10a7..5175912 100644 --- a/docker/stacks/nextcloud/nextcloud.yml +++ b/docker/stacks/nextcloud/nextcloud.yml @@ -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}