From 41a853db55eac8e6212471253c08fa3ad265c89a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 30 Nov 2022 14:08:10 +0000 Subject: [PATCH] Define tmpfs for website /tmp This is needed for imagemagick to function correctly without consuming all disk space on the system --- ansible/roles/website/files/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/website/files/docker-compose.yml b/ansible/roles/website/files/docker-compose.yml index b261633..e01f2d0 100644 --- a/ansible/roles/website/files/docker-compose.yml +++ b/ansible/roles/website/files/docker-compose.yml @@ -22,6 +22,8 @@ x-website: &website - ACTIVITYPUB_HOST=mastodon.theorangeone.net volumes: - ./media:/app/media + tmpfs: + - /tmp depends_on: - db - redis