Nextcloud: timezones, tempfs and config for memories

This commit is contained in:
Florian Zirker 2023-04-24 13:38:17 +02:00
parent 8667f20702
commit 922b97710f
2 changed files with 6 additions and 0 deletions

View file

@ -7,4 +7,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
default-jre-headless libreoffice \ default-jre-headless libreoffice \
ffmpeg \ ffmpeg \
ocrmypdf tesseract-ocr-deu \ ocrmypdf tesseract-ocr-deu \
procps \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View file

@ -36,6 +36,8 @@ services:
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
- type: tmpfs
target: /tmp
restart: unless-stopped restart: unless-stopped
networks: networks:
- nextcloud - nextcloud
@ -173,6 +175,9 @@ services:
networks: networks:
- nextcloud - nextcloud
- web - web
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
cap_add: cap_add:
- MKNOD - MKNOD
expose: expose: