From 2cb0d7dafa1ec78689818eac745e56fe532ce4c5 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Tue, 6 Jul 2021 22:23:42 +0200 Subject: [PATCH] static_websites: Add /tmp as tmpfs in read-only --- roles/static_websites/templates/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/static_websites/templates/docker-compose.yml b/roles/static_websites/templates/docker-compose.yml index 71afeea..1d80715 100644 --- a/roles/static_websites/templates/docker-compose.yml +++ b/roles/static_websites/templates/docker-compose.yml @@ -30,6 +30,7 @@ services: tmpfs: - /run/:size=32K - /var/cache/nginx:size=10M + - /tmp/:size=1M {% if value.nginx.tmpfs is defined %} {% for tmpfs, tmpsize in value.nginx.tmpfs.items() %} - {{ tmpfs }}:size={{ tmpsize }}