From 9ace1a0383984003a1585a584eaccc501a83ec73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Larrieu-Lacoste?= Date: Thu, 21 Mar 2024 15:11:29 +0100 Subject: [PATCH] add attachements mount --- Dockerfile | 1 + README.md | 3 +++ docker-compose.yml.example | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 57ea519..ce95601 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,7 @@ ENV PHP_MAX_INPUT_VARS=4000 \ # Create persistent storage volumes for documents and logs VOLUME /mnt/documents/ +VOLUME /mnt/attachments/ VOLUME /mnt/logs/ diff --git a/README.md b/README.md index 446cfc4..154ca60 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ The **available Projeqtor tags** in this image include: **Volumes:** - /mnt/documents +- /mnt/attachments - /mnt/logs *Note: Read and write (rw) access is required for both volumes.* @@ -98,6 +99,7 @@ services: - mysql_service volumes: - projeqtor_documents:/mnt/documents + - projeqtor_attachments:/mnt/attachments - projeqtor_logs:/mnt/logs ports: - "25:25" @@ -118,5 +120,6 @@ services: volumes: mysql_data: projeqtor_documents: + projeqtor_attachments: projeqtor_logs: ``` \ No newline at end of file diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 126e655..430689c 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -12,6 +12,7 @@ services: - mysql_service volumes: - projeqtor_documents:/mnt/documents + - projeqtor_attachments:/mnt/attachments - projeqtor_logs:/mnt/logs ports: - "25:25" @@ -32,6 +33,7 @@ services: volumes: mysql_data: projeqtor_documents: + projeqtor_attachments: projeqtor_logs: networks: