From c743214fef367439ece6c7adb27ab5f19660c40f Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 3 Aug 2016 13:44:24 +0200 Subject: [PATCH] add uploads volume --- Dockerfile | 2 +- rootfs/etc/fix-attrs.d/01-synapse | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a00543..258210f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,4 +75,4 @@ ADD /rootfs / EXPOSE 8448 -VOLUME /var/lib/synapse/media_store/ /var/lib/synapse/signing/ /etc/ssl/synapse/ +VOLUME /var/lib/synapse/media_store/ /var/lib/synapse/uploads /var/lib/synapse/signing/ /etc/ssl/synapse/ diff --git a/rootfs/etc/fix-attrs.d/01-synapse b/rootfs/etc/fix-attrs.d/01-synapse index 16ac9d0..66bcba4 100644 --- a/rootfs/etc/fix-attrs.d/01-synapse +++ b/rootfs/etc/fix-attrs.d/01-synapse @@ -1,2 +1,3 @@ /var/lib/synapse/signing/ true synapse 0640 0750 -/var/lib/synapse/media_store/ true synapse 0640 0750 \ No newline at end of file +/var/lib/synapse/media_store/ true synapse 0640 0750 +/var/lib/synapse/uploads true synapse 0640 0750 \ No newline at end of file