mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-24 23:58:27 +00:00
Move assets volume to main compose file
This commit is contained in:
parent
364bec2872
commit
725979dc05
@ -10,6 +10,7 @@ services:
|
||||
SOCKETIO_PORT: 9000
|
||||
volumes:
|
||||
- sites:/home/frappe/frappe-bench/sites
|
||||
- assets:/home/frappe/frappe-bench/sites/assets
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
@ -46,6 +47,7 @@ services:
|
||||
FRAPPE_SITE_NAME_HEADER: $$host
|
||||
volumes:
|
||||
- sites:/usr/share/nginx/html/sites
|
||||
- assets:/usr/share/nginx/html/assets
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.services.frontend.loadbalancer.server.port=80
|
||||
@ -103,7 +105,9 @@ services:
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
# ERPNext requires local assets access (Frappe does not)
|
||||
volumes:
|
||||
sites:
|
||||
assets:
|
||||
db:
|
||||
redis:
|
||||
|
@ -1,13 +1,9 @@
|
||||
services:
|
||||
backend:
|
||||
image: frappe/erpnext-worker:${ERPNEXT_VERSION}
|
||||
volumes:
|
||||
- assets:/home/frappe/frappe-bench/sites/assets
|
||||
|
||||
frontend:
|
||||
image: frappe/erpnext-nginx:${ERPNEXT_VERSION}
|
||||
volumes:
|
||||
- assets:/usr/share/nginx/html/assets
|
||||
|
||||
queue-short:
|
||||
image: frappe/erpnext-worker:${ERPNEXT_VERSION}
|
||||
@ -20,7 +16,3 @@ services:
|
||||
|
||||
scheduler:
|
||||
image: frappe/erpnext-worker:${ERPNEXT_VERSION}
|
||||
|
||||
# ERPNext requires local assets access (Frappe does not)
|
||||
volumes:
|
||||
assets:
|
||||
|
Loading…
x
Reference in New Issue
Block a user