bisq/seednode/deployment_v2/docker/docker-compose.yml

72 lines
2.0 KiB
YAML
Raw Normal View History

version: '3.7'
services:
bisq-bitcoind:
image: bisq/bitcoind:latest
deploy:
replicas: 1
restart_policy:
condition: any
ports:
- 8333:8333 # bitcoind port
volumes:
- ./bitcoind_data_dir:/root/.bitcoin
- ./blocknotify.sh:/blocknotify.sh
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
- -rpcuser=bisq
- -rpcpassword=bisq
- -blocknotify=/blocknotify.sh %s
- -bind=0.0.0.0:8332
- -rpcbind=0.0.0.0:8332
bisq-seednode:
image: bisq/seednode:latest
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
ports:
- 8000:8000 # bisq node port
2023-10-10 19:59:14 +02:00
volumes:
- bisq_seednode_data:/bisq/bisq-seednode
command:
- --configFile=/bisq_seednode_config
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
command: [ "--allow-missing-torrc",
"--SOCKSPort", "0.0.0.0:9050",
"--ControlPort", "0.0.0.0:9051",
"--HashedControlPassword", "16:ED08CEBE4E91EA126089506E2880119E20A39054754D3916EAFF774046", # password: bisq
"--Log", "notice",
"--SafeSocks", "0",
"--HiddenServiceStatistics", "0",
"--AvoidDiskWrites", "1" ]
2023-10-10 19:59:14 +02:00
configs:
bisq_seednode_config:
file: ./seednode_config
2023-10-10 19:59:14 +02:00
volumes:
bisq_seednode_data:
2023-10-10 19:59:14 +02:00
tor_data: