mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 02:28:57 +00:00
ci: output erpnext-nginx container logs
This commit is contained in:
parent
8fc3fbb27e
commit
d68bcdc8bd
@ -163,6 +163,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:
|
||||
mariadb-vol:
|
||||
redis-cache-vol:
|
||||
|
@ -38,5 +38,8 @@ docker restart ${project_name}_fix-vol-permissions_1
|
||||
|
||||
check_health $project_name
|
||||
|
||||
# TODO: remove when pr ci run successful
|
||||
docker logs ${project_name}_erpnext-nginx_1
|
||||
|
||||
ping_site
|
||||
rm .env
|
||||
|
Loading…
Reference in New Issue
Block a user