Nextcloud finally working
This commit is contained in:
@@ -34,8 +34,7 @@ services:
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
|
||||
app:
|
||||
# image: nextcloud:fpm
|
||||
application:
|
||||
build: ./nc-fpm
|
||||
restart: always
|
||||
links:
|
||||
@@ -50,11 +49,11 @@ services:
|
||||
- MYSQL_HOST=db
|
||||
- REDIS_HOST=redis
|
||||
|
||||
web:
|
||||
nginx:
|
||||
build: ./nginx
|
||||
restart: always
|
||||
ports:
|
||||
- 7777:80
|
||||
- 8888:80
|
||||
links:
|
||||
- app
|
||||
volumes:
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
FROM nextcloud:fpm
|
||||
|
||||
RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data
|
||||
|
||||
#RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data
|
||||
RUN usermod -u 82 -o www-data
|
||||
RUN apt update \
|
||||
&& apt -y install libmagickcore-6.q16-6-extra ffmpeg imagemagick ghostscript \
|
||||
&& apt clean
|
||||
|
||||
Reference in New Issue
Block a user