2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 23:00:56 +00:00

ci: output erpnext-nginx container logs

This commit is contained in:
Revant Nandgaonkar 2021-11-22 06:14:30 +05:30
parent 8fc3fbb27e
commit d68bcdc8bd
2 changed files with 12 additions and 0 deletions

View File

@ -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:

View File

@ -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