ci: Add host gateway to connect cloud services (#19541)
Added host gateway to fix cloud services connectivity issue
This commit is contained in:
parent
717b2c1610
commit
9c30dadd31
|
|
@ -226,6 +226,7 @@ jobs:
|
||||||
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
||||||
-e APPSMITH_AUDITLOG_ENABLED=true \
|
-e APPSMITH_AUDITLOG_ENABLED=true \
|
||||||
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
|
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
|
||||||
|
--add-host=host.docker.internal:host-gateway \
|
||||||
fatcontainer
|
fatcontainer
|
||||||
|
|
||||||
- name: Use Node.js 16.14.0
|
- name: Use Node.js 16.14.0
|
||||||
|
|
|
||||||
|
|
@ -807,8 +807,9 @@ jobs:
|
||||||
cd fatcontainerlocal
|
cd fatcontainerlocal
|
||||||
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
||||||
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
||||||
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
|
|
||||||
-e APPSMITH_AUDITLOG_ENABLED=true \
|
-e APPSMITH_AUDITLOG_ENABLED=true \
|
||||||
|
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
|
||||||
|
--add-host=host.docker.internal:host-gateway \
|
||||||
fatcontainer
|
fatcontainer
|
||||||
|
|
||||||
- name: Use Node.js 16.14.0
|
- name: Use Node.js 16.14.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user