Skip to content

Commit

Permalink
Merge pull request #6908 from alvasw/seednode_docker_connect_to_bitco…
Browse files Browse the repository at this point in the history
…ind_on_host

seednode-docker: Connect to Bitcoin Core on host
  • Loading branch information
alejandrogarcia83 authored Oct 10, 2023
2 parents 1672184 + 857c704 commit 1ac8878
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seednode/deployment_v2/docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
JDK_JAVA_OPTIONS=-Xms4096M -Xmx4096M -XX:+ExitOnOutOfMemoryError

# bitcoin p2p settings
BITCOIN_P2P_HOST=127.0.0.1
BITCOIN_P2P_HOST=host.docker.internal
BITCOIN_P2P_PORT=8333

# bitcoind rpc ports
BITCOIN_RPC_HOST=192.168.1.1
BITCOIN_RPC_HOST=host.docker.internal
BITCOIN_RPC_PORT=8332
BITCOIN_RPC_BLOCKNOTIFY_HOST=127.0.0.1
BITCOIN_RPC_BLOCKNOTIFY_HOST=host.docker.internal
BITCOIN_RPC_BLOCKNOTIFY_PORT=5120

BITCOIN_RPC_USER=bisq
Expand Down
4 changes: 4 additions & 0 deletions seednode/deployment_v2/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ services:
replicas: 1
restart_policy:
condition: any
extra_hosts:
- host.docker.internal:host-gateway
ports:
- 127.0.0.1:5120:5120 # bitcoind rpc block notifications
volumes:
- bisq_data:/bisq/bisq-seednode
command:
Expand Down

0 comments on commit 1ac8878

Please sign in to comment.