Skip to content

Commit

Permalink
Fix SUAVE-DNS whitelist and Docker reverse dial.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Feb 29, 2024
1 parent a889dc8 commit 451eb00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- --suave.dev
- --http.addr=0.0.0.0
- --suave.eth.remote_endpoint=http://suave-enabled-chain:8545
- --suave.eth.external-whitelist=172.17.0.1
- --suave.eth.external-whitelist=*
depends_on:
- suave-enabled-chain
ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/app-ofa-private/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
if cfg.BuilderURL == "local" {
// '172.17.0.1' is the default docker host IP that a docker container can
// use to connect with a service running on the host machine.
cfg.BuilderURL = "http://172.17.0.1:1234"
cfg.BuilderURL = "http://host.docker.internal:1234"

go func() {
log.Fatal(http.ListenAndServe("0.0.0.0:1234", &relayHandlerExample{}))
Expand Down

0 comments on commit 451eb00

Please sign in to comment.