From 1dba6d6f2ee0d2a391c4abc03fedf909f34f600b Mon Sep 17 00:00:00 2001 From: Salah Aldin Fateh <83924106+sdfateh@users.noreply.github.com> Date: Sat, 20 Aug 2022 11:46:39 +0300 Subject: [PATCH] Update compose.yaml Delete the unnecessary volume definition and add read only to assets on backend --- compose.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 95ea1f40..bb086d73 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,7 +8,7 @@ x-backend-defaults: &backend_defaults image: frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set} volumes: - sites:/home/frappe/frappe-bench/sites - - assets:/home/frappe/frappe-bench/sites/assets + - assets:/home/frappe/frappe-bench/sites/assets:ro services: configurator: @@ -27,7 +27,6 @@ services: <<: *backend_defaults volumes: - sites:/home/frappe/frappe-bench/sites - - assets:/home/frappe/frappe-bench/sites/assets:ro frontend: image: frappe/frappe-nginx:${FRAPPE_VERSION}