Skip to content

Commit df4feef

Browse files
committed
fix(ci): BASED_OP_GETH_PORT from .env
fix: configurable PORTAL_PORT
1 parent d269ad7 commit df4feef

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
LOCAL_DATA="$PWD/.local"
22
PUBLIC_IP="127.0.0.1"
33
BASED_ENV=dev
4+
5+
BASED_OP_GETH_PORT=8645

based/portal.just

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export PORTAL := env("PORTAL", "http://0.0.0.0:8080")
1+
export PORTAL_PORT := env("PORTAL_PORT", "8080")
2+
export PORTAL := env("PORTAL", "http://0.0.0.0:" + PORTAL_PORT)
23

34
# Normally JQ doesn't return error if its return was empty or null. -e fixes that
45
export JQ_ARGS := env("JQ_ARGS", "-e")

main_node/compose.dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ services:
157157
- --registry.url=http://0.0.0.0:${REGISTRY_PORT}
158158
- --gateway.timeout_ms=200
159159
- --log.dir=/var/log/app
160+
- --port=${PORTAL_PORT}
160161
volumes:
161162
- ./config:/config
162163
- /tmp:/tmp

main_node/compose.prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ services:
158158
- --registry.url=http://0.0.0.0:${REGISTRY_PORT}
159159
- --gateway.timeout_ms=200
160160
- --log.dir=/var/log/app
161+
- --port=${PORTAL_PORT}
161162
volumes:
162163
- ./config:/config
163164
- /tmp:/tmp

0 commit comments

Comments
 (0)