Build own Nextcloud docker container with tools to use flow.
This commit is contained in:
parent
160b9286c3
commit
38e861d232
2 changed files with 20 additions and 2 deletions
10
nextcloud/Dockerfile
Normal file
10
nextcloud/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
ARG NC_MAIN_VERSION
|
||||||
|
FROM nextcloud:$NC_MAIN_VERSION-fpm
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
imagemagick \
|
||||||
|
smbclient \
|
||||||
|
default-jre-headless libreoffice \
|
||||||
|
ffmpeg \
|
||||||
|
ocrmypdf tesseract-ocr-deu \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
|
@ -27,7 +27,11 @@ services:
|
||||||
|
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:${NC_MAIN_VERSION}-fpm
|
image: nextcloud:${NC_MAIN_VERSION}-fpm-own
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
args:
|
||||||
|
- NC_MAIN_VERSION=${NC_MAIN_VERSION}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html
|
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html
|
||||||
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data
|
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data
|
||||||
|
@ -50,7 +54,11 @@ services:
|
||||||
|
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: nextcloud:${NC_MAIN_VERSION}
|
image: nextcloud:${NC_MAIN_VERSION}-fpm-own
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
args:
|
||||||
|
- NC_MAIN_VERSION=${NC_MAIN_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
|
Loading…
Reference in a new issue