2023-10-03 22:51:58 +02:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2023-10-12 19:02:39 +02:00
|
|
|
bisq-bitcoind:
|
|
|
|
image: bisq/bitcoind:latest
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
ports:
|
|
|
|
- 8333:8333 # bitcoind port
|
|
|
|
volumes:
|
|
|
|
- ./bitcoind_data_dir:/root/.bitcoin
|
2023-10-15 17:43:20 +02:00
|
|
|
- ./blocknotify.sh:/blocknotify.sh
|
2023-10-12 19:02:39 +02:00
|
|
|
command:
|
|
|
|
- -server=1
|
|
|
|
- -listen=1
|
|
|
|
- -discover=1
|
|
|
|
- -txindex=1
|
|
|
|
- -dbcache=1337
|
|
|
|
- -maxconnections=1337
|
|
|
|
- -peerbloomfilters=1
|
|
|
|
- -rpcallowip=127.0.0.1
|
|
|
|
- -rpcallowip=172.0.0.1/8 # Docker IP range
|
2023-10-15 17:26:24 +02:00
|
|
|
- -rpcuser=bisq
|
|
|
|
- -rpcpassword=bisq
|
2023-10-15 17:43:20 +02:00
|
|
|
- -blocknotify=/blocknotify.sh %s
|
2023-10-15 17:26:24 +02:00
|
|
|
- -bind=0.0.0.0:8332
|
|
|
|
- -rpcbind=0.0.0.0:8332
|
2023-10-12 19:02:39 +02:00
|
|
|
|
2023-10-03 22:51:58 +02:00
|
|
|
bisq-seednode:
|
|
|
|
image: bisq/seednode:latest
|
2023-10-15 17:26:24 +02:00
|
|
|
environment:
|
|
|
|
- JDK_JAVA_OPTIONS=-Xms4096M -Xmx4096M -XX:+ExitOnOutOfMemoryError
|
|
|
|
configs:
|
|
|
|
- bisq_seednode_config
|
2023-10-10 20:32:19 +02:00
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
2023-10-10 22:31:24 +02:00
|
|
|
ports:
|
2023-10-15 17:26:24 +02:00
|
|
|
- 8000:8000 # bisq node port
|
2023-10-10 19:59:14 +02:00
|
|
|
volumes:
|
2023-10-12 19:02:39 +02:00
|
|
|
- bisq_seednode_data:/bisq/bisq-seednode
|
2023-10-03 22:51:58 +02:00
|
|
|
command:
|
2023-10-15 17:26:24 +02:00
|
|
|
- --configFile=/bisq_seednode_config
|
2023-10-05 21:39:23 +02:00
|
|
|
|
|
|
|
bisq-tor:
|
|
|
|
image: bisq/tor:latest
|
2023-10-10 20:32:19 +02:00
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
2023-10-10 19:59:14 +02:00
|
|
|
volumes:
|
|
|
|
- tor_data:/root/.tor
|
2023-10-05 21:39:23 +02:00
|
|
|
command: [ "--allow-missing-torrc",
|
2023-10-09 14:55:50 +02:00
|
|
|
"--SOCKSPort", "0.0.0.0:9050",
|
|
|
|
"--ControlPort", "0.0.0.0:9051",
|
|
|
|
"--HashedControlPassword", "16:ED08CEBE4E91EA126089506E2880119E20A39054754D3916EAFF774046", # password: bisq
|
2023-10-10 17:45:38 +02:00
|
|
|
"--Log", "notice",
|
2023-10-05 21:39:23 +02:00
|
|
|
"--SafeSocks", "0",
|
|
|
|
"--HiddenServiceStatistics", "0",
|
|
|
|
"--AvoidDiskWrites", "1" ]
|
2023-10-10 19:59:14 +02:00
|
|
|
|
2023-10-15 17:26:24 +02:00
|
|
|
configs:
|
|
|
|
bisq_seednode_config:
|
|
|
|
file: ./seednode_config
|
|
|
|
|
2023-10-10 19:59:14 +02:00
|
|
|
volumes:
|
2023-10-12 19:02:39 +02:00
|
|
|
bisq_seednode_data:
|
2023-10-10 19:59:14 +02:00
|
|
|
tor_data:
|