mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix UI tests not exiting if container fails to start
This commit is contained in:
parent
55fd177901
commit
d82136f040
2 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ services:
|
|||
www.example.com_USE_UI: "yes"
|
||||
www.example.com_SERVE_FILES: "no"
|
||||
www.example.com_USE_REVERSE_PROXY: "yes"
|
||||
www.example.com_REVERSE_PROXY_URL: "/admin/"
|
||||
www.example.com_REVERSE_PROXY_URL: "/admin"
|
||||
www.example.com_REVERSE_PROXY_HOST: "http://bw-ui:7000"
|
||||
www.example.com_INTERCEPTED_ERROR_CODES: "400 405 413 429 500 501 502 503 504"
|
||||
CUSTOM_CONF_SERVER_HTTP_port-redirect: "port_in_redirect on;"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ ret=$?
|
|||
if [ $ret -ne 0 ] ; then
|
||||
docker-compose logs
|
||||
echo "❌ Up failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Exit
|
||||
exit $?
|
||||
exit ret
|
||||
Loading…
Reference in a new issue