Build own Nextcloud docker container with tools to use flow.

This commit is contained in:
Florian Zirker 2023-02-23 11:30:09 +01:00
parent 160b9286c3
commit 38e861d232
2 changed files with 20 additions and 2 deletions

View file

@ -27,7 +27,11 @@ services:
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_PATH}/nextcloud_html:/var/www/html
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data
@ -50,7 +54,11 @@ services:
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
networks:
- nextcloud