added dockerfile for user-specific nc

This commit is contained in:
Matthias Mitscherlich
2023-06-09 11:15:38 +02:00
parent 9a51baaf96
commit e77d4e7ecd
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ services:
- MYSQL_USER=nextcloud - MYSQL_USER=nextcloud
app: app:
image: nextcloud:fpm # image: nextcloud:fpm
build: ./nc-fpm
restart: always restart: always
links: links:
- db - db
+4
View File
@@ -0,0 +1,4 @@
FROM nextcloud:fpm
RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data