seednode-docker: Connect to Bitcoin Core on host

This commit is contained in:
Alva Swanson 2023-10-10 22:31:24 +02:00
parent e742dd77ed
commit 857c70497a
No known key found for this signature in database
GPG key ID: 004760E77F753090
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: