Skip to content

Commit 7978202

Browse files
committed
fix(integrations): publish the local stack on loopback only
Every consumer targets 127.0.0.1, so binding on 0.0.0.0 only exposed the dev node and the insecure-credential indexer to the LAN.
1 parent 46d4821 commit 7978202

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integrations/local-env.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
image: 'midnightntwrk/proof-server:8.0.3'
88
command: ['midnight-proof-server -v']
99
ports:
10-
- '6300:6300'
10+
- '127.0.0.1:6300:6300'
1111
environment:
1212
RUST_BACKTRACE: 'full'
1313
# The image ships no curl, so `make env-up` polls /version from the host.
@@ -18,7 +18,7 @@ services:
1818
# Pinned for the same reason as proof-server above.
1919
image: 'midnightntwrk/indexer-standalone:4.0.1'
2020
ports:
21-
- '8088:8088'
21+
- '127.0.0.1:8088:8088'
2222
environment:
2323
RUST_LOG: 'indexer=info,chain_indexer=info,indexer_api=info,wallet_indexer=info,indexer_common=info,info'
2424
APP__INFRA__NODE__URL: 'ws://node:9944'
@@ -45,7 +45,7 @@ services:
4545
node:
4646
image: 'midnightntwrk/midnight-node:0.22.2'
4747
ports:
48-
- '9944:9944'
48+
- '127.0.0.1:9944:9944'
4949
healthcheck:
5050
test: ['CMD', 'curl', '-f', 'http://localhost:9944/health']
5151
interval: 2s

0 commit comments

Comments
 (0)