From 922b97710ffce4454c20a08c2a8f58de6304da19 Mon Sep 17 00:00:00 2001 From: Florian Zirker Date: Mon, 24 Apr 2023 13:38:17 +0200 Subject: [PATCH] Nextcloud: timezones, tempfs and config for memories --- nextcloud/Dockerfile | 1 + nextcloud/docker-compose.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 1d305a7..600750a 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -7,4 +7,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ default-jre-headless libreoffice \ ffmpeg \ ocrmypdf tesseract-ocr-deu \ + procps \ && rm -rf /var/lib/apt/lists/* diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index f69c5dd..679ea49 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -36,6 +36,8 @@ services: volumes: - ${VOLUMES_PATH}/nextcloud_html:/var/www/html - ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data + - type: tmpfs + target: /tmp restart: unless-stopped networks: - nextcloud @@ -173,6 +175,9 @@ services: networks: - nextcloud - web + volumes: + - /etc/timezone:/etc/timezone + - /etc/localtime:/etc/localtime cap_add: - MKNOD expose: