Nextcloud finally working

This commit is contained in:
2023-06-09 10:07:50 +00:00
parent e77d4e7ecd
commit f558b97ac4
2 changed files with 8 additions and 6 deletions
+3 -4
View File
@@ -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:
+5 -2
View File
@@ -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