Merge pull request #6908 from alvasw/seednode_docker_connect_to_bitcoind_on_host

seednode-docker: Connect to Bitcoin Core on host
This commit is contained in:
Alejandro García 2023-10-10 23:26:13 +00:00 committed by GitHub
commit 1ac88789f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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: