mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix redirect tests on docker
This commit is contained in:
parent
a518f47b92
commit
172874d1c3
|
@ -6,6 +6,8 @@ services:
|
||||||
pull_policy: never
|
pull_policy: never
|
||||||
labels:
|
labels:
|
||||||
- "bunkerweb.INSTANCE"
|
- "bunkerweb.INSTANCE"
|
||||||
|
volumes:
|
||||||
|
- ./index.html:/var/www/html/index.html
|
||||||
environment:
|
environment:
|
||||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||||
HTTP_PORT: "80"
|
HTTP_PORT: "80"
|
||||||
|
|
0
tests/core/redirect/index.html
Normal file
0
tests/core/redirect/index.html
Normal file
|
@ -14,7 +14,7 @@ echo "↩️ Building redirect stack for integration \"$integration\" ..."
|
||||||
|
|
||||||
# Starting stack
|
# Starting stack
|
||||||
if [ "$integration" == "docker" ] ; then
|
if [ "$integration" == "docker" ] ; then
|
||||||
docker compose pull bw-docker app1
|
docker compose pull bw-docker
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "↩️ Pull failed ❌"
|
echo "↩️ Pull failed ❌"
|
||||||
|
|
Loading…
Reference in a new issue