seednode-docker: Connect to Bisq container to Tor container

This commit is contained in:
Alva Swanson 2023-10-09 14:55:50 +02:00
parent 364e0c47aa
commit 64ee4f4a3b
No known key found for this signature in database
GPG key ID: 004760E77F753090
2 changed files with 6 additions and 10 deletions

View file

@ -1,9 +1,6 @@
# java memory and remote management options
JDK_JAVA_OPTIONS=-Xms4096M -Xmx4096M -XX:+ExitOnOutOfMemoryError
# use external tor (change to -1 for internal tor binary)
BISQ_EXTERNAL_TOR_PORT=9051
# bitcoin p2p settings
BITCOIN_P2P_HOST=127.0.0.1
BITCOIN_P2P_PORT=8333

View file

@ -20,18 +20,17 @@ services:
- --rpcPassword=${BITCOIN_RPC_PASS}
- --dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN}
- --dumpStatistics=${BISQ_DUMP_STATISTICS}
- --torControlPort=${BISQ_EXTERNAL_TOR_PORT}
- --torControlHost=bisq-tor
- --torControlPort=9051
- --torControlPassword=bisq
bisq-tor:
image: bisq/tor:latest
command: [ "--allow-missing-torrc",
"--RunAsDaemon", "1",
"--SOCKSPort", "9050",
"--ControlPort", "9051",
"--SOCKSPort", "0.0.0.0:9050",
"--ControlPort", "0.0.0.0:9051",
"--HashedControlPassword", "16:ED08CEBE4E91EA126089506E2880119E20A39054754D3916EAFF774046", # password: bisq
"--Log", "notice syslog",
"--CookieAuthentication", "0",
"--CookieAuthFileGroupReadable", "1",
"--DataDirectoryGroupReadable", "1",
"--SafeSocks", "0",
"--HiddenServiceStatistics", "0",
"--AvoidDiskWrites", "1" ]