Skip to content

Commit ad0bcfa

Browse files
committed
Revert using host.docker.internal
It will work when Selenium access the webapp, but not as an ip to start the webapp itself. So revert until we have a public URI for the server.
1 parent 3f2309f commit ad0bcfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci/acceptance.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ run:
2323
cp scripts/ci/ci.properties server/src/acceptance/resources/etc
2424
2525
docker compose -f scripts/ci/compose.acceptance.yml up -d
26-
SERVER_HOST=host.docker.internal gradle acceptanceTest -Penv=ci
26+
export HOST_IP=$(/sbin/ifconfig docker0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
27+
SERVER_HOST=$HOST_IP gradle acceptanceTest -Penv=ci

0 commit comments

Comments
 (0)