Fix redirect tests on docker

This commit is contained in:
Théophile Diot 2023-10-03 18:00:59 +02:00
parent a518f47b92
commit 172874d1c3
No known key found for this signature in database
GPG Key ID: 248FEA4BAE400D06
3 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ services:
pull_policy: never
labels:
- "bunkerweb.INSTANCE"
volumes:
- ./index.html:/var/www/html/index.html
environment:
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
HTTP_PORT: "80"

View File

View File

@ -14,7 +14,7 @@ echo "↩️ Building redirect stack for integration \"$integration\" ..."
# Starting stack
if [ "$integration" == "docker" ] ; then
docker compose pull bw-docker app1
docker compose pull bw-docker
# shellcheck disable=SC2181
if [ $? -ne 0 ] ; then
echo "↩️ Pull failed ❌"