Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seednode-docker: Connect to Bitcoin Core on host #6908

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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