mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-12 16:26:35 +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-default
|
||||||
- frappe-worker-long
|
- frappe-worker-long
|
||||||
- frappe-worker-short
|
- frappe-worker-short
|
||||||
|
- fix-vol-permissions
|
||||||
links:
|
links:
|
||||||
- [app]-python
|
- [app]-python
|
||||||
- frappe-socketio
|
- frappe-socketio
|
||||||
@ -117,6 +118,15 @@ services:
|
|||||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||||
- logs-vol:/home/frappe/frappe-bench/logs: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:
|
volumes:
|
||||||
assets-vol:
|
assets-vol:
|
||||||
sites-vol:
|
sites-vol:
|
||||||
|
@ -18,6 +18,7 @@ services:
|
|||||||
- frappe-worker-default
|
- frappe-worker-default
|
||||||
- frappe-worker-long
|
- frappe-worker-long
|
||||||
- frappe-worker-short
|
- frappe-worker-short
|
||||||
|
- fix-vol-permissions
|
||||||
links:
|
links:
|
||||||
- erpnext-python
|
- erpnext-python
|
||||||
- frappe-socketio
|
- frappe-socketio
|
||||||
@ -114,6 +115,15 @@ services:
|
|||||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||||
- logs-vol:/home/frappe/frappe-bench/logs: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:
|
volumes:
|
||||||
assets-vol:
|
assets-vol:
|
||||||
sites-vol:
|
sites-vol:
|
||||||
|
@ -18,6 +18,7 @@ services:
|
|||||||
- frappe-worker-default
|
- frappe-worker-default
|
||||||
- frappe-worker-long
|
- frappe-worker-long
|
||||||
- frappe-worker-short
|
- frappe-worker-short
|
||||||
|
- fix-vol-permissions
|
||||||
links:
|
links:
|
||||||
- frappe-python
|
- frappe-python
|
||||||
- frappe-socketio
|
- frappe-socketio
|
||||||
@ -114,7 +115,16 @@ services:
|
|||||||
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
- sites-vol:/home/frappe/frappe-bench/sites:rw
|
||||||
- logs-vol:/home/frappe/frappe-bench/logs: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:
|
volumes:
|
||||||
assets-vol:
|
assets-vol:
|
||||||
sites-vol:
|
sites-vol:
|
||||||
logs-vol:
|
logs-vol:
|
||||||
|
Loading…
Reference in New Issue
Block a user