2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-19 10:39:02 +00:00

edits on volumes definition (#886)

* Update compose.yaml

Delete the unnecessary volume definition and add read only to assets on backend

* Update compose.yaml

Delete the unnecessary volume definition and add read-only to assets on the backend
This commit is contained in:
Salah Aldin Fateh 2022-08-22 09:50:02 +03:00 committed by GitHub
parent 019316b0e5
commit defcf83e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ x-backend-defaults: &backend_defaults
image: frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set} image: frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set}
volumes: volumes:
- sites:/home/frappe/frappe-bench/sites - sites:/home/frappe/frappe-bench/sites
- assets:/home/frappe/frappe-bench/sites/assets - assets:/home/frappe/frappe-bench/sites/assets:ro
services: services:
configurator: configurator:
@ -25,9 +25,6 @@ services:
backend: backend:
<<: *backend_defaults <<: *backend_defaults
volumes:
- sites:/home/frappe/frappe-bench/sites
- assets:/home/frappe/frappe-bench/sites/assets:ro
frontend: frontend:
image: frappe/frappe-nginx:${FRAPPE_VERSION} image: frappe/frappe-nginx:${FRAPPE_VERSION}