Nextcloud finally working
This commit is contained in:
@@ -34,8 +34,7 @@ services:
|
|||||||
- MYSQL_DATABASE=nextcloud
|
- MYSQL_DATABASE=nextcloud
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
|
|
||||||
app:
|
application:
|
||||||
# image: nextcloud:fpm
|
|
||||||
build: ./nc-fpm
|
build: ./nc-fpm
|
||||||
restart: always
|
restart: always
|
||||||
links:
|
links:
|
||||||
@@ -50,11 +49,11 @@ services:
|
|||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
|
|
||||||
web:
|
nginx:
|
||||||
build: ./nginx
|
build: ./nginx
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 7777:80
|
- 8888:80
|
||||||
links:
|
links:
|
||||||
- app
|
- app
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
FROM nextcloud:fpm
|
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