mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
ci: fix test volume permissions
This commit is contained in:
parent
3295c8070e
commit
318f65170a
@ -20,6 +20,7 @@ services:
|
||||
- frappe-worker-default
|
||||
- frappe-worker-long
|
||||
- frappe-worker-short
|
||||
- fix-vol-permissions
|
||||
links:
|
||||
- [app]-python
|
||||
- frappe-socketio
|
||||
@ -117,6 +118,15 @@ services:
|
||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||
- logs-vol:/home/frappe/frappe-bench/logs:rw
|
||||
|
||||
fix-vol-permissions:
|
||||
image: [app]-worker
|
||||
user: root
|
||||
command: chown -R 1000:1000 /sites /assets /logs
|
||||
volumes:
|
||||
- sites-vol:/sites
|
||||
- assets-vol:/assets
|
||||
- logs-vol:/logs
|
||||
|
||||
volumes:
|
||||
assets-vol:
|
||||
sites-vol:
|
||||
|
@ -18,6 +18,7 @@ services:
|
||||
- frappe-worker-default
|
||||
- frappe-worker-long
|
||||
- frappe-worker-short
|
||||
- fix-vol-permissions
|
||||
links:
|
||||
- erpnext-python
|
||||
- frappe-socketio
|
||||
@ -114,6 +115,15 @@ services:
|
||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||
- logs-vol:/home/frappe/frappe-bench/logs:rw
|
||||
|
||||
fix-vol-permissions:
|
||||
image: frappe/erpnext-worker:${ERPNEXT_VERSION}
|
||||
user: root
|
||||
command: chown -R 1000:1000 /sites /assets /logs
|
||||
volumes:
|
||||
- sites-vol:/sites
|
||||
- assets-vol:/assets
|
||||
- logs-vol:/logs
|
||||
|
||||
volumes:
|
||||
assets-vol:
|
||||
sites-vol:
|
||||
|
@ -18,6 +18,7 @@ services:
|
||||
- frappe-worker-default
|
||||
- frappe-worker-long
|
||||
- frappe-worker-short
|
||||
- fix-vol-permissions
|
||||
links:
|
||||
- frappe-python
|
||||
- frappe-socketio
|
||||
@ -114,7 +115,16 @@ services:
|
||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||
- logs-vol:/home/frappe/frappe-bench/logs:rw
|
||||
|
||||
fix-vol-permissions:
|
||||
image: frappe/frappe-worker:${ERPNEXT_VERSION}
|
||||
user: root
|
||||
command: chown -R 1000:1000 /sites /assets /logs
|
||||
volumes:
|
||||
- sites-vol:/sites
|
||||
- assets-vol:/assets
|
||||
- logs-vol:/logs
|
||||
|
||||
volumes:
|
||||
assets-vol:
|
||||
sites-vol:
|
||||
logs-vol:
|
||||
logs-vol:
|
||||
|
Loading…
Reference in New Issue
Block a user