jam/docker/regtest/docker-compose-common.yml
Thebora Kompanioni 5491e88b53
chore: update regtest deps (#882)
* dev(regtest): update ergochat to v2.15.0

* dev(regtest): add new config param wallet_caching_disabled

* dev(regtest): update bitcoin core to v28

* dev(regtest): detach and wait for docker services

* dev(regtest): pin nginx image version

* dev(regtest): add healthcheck to bitcoind

* dev(regtest): add healtcheck to secondary jm containers

* dev(regtest): add healthcheck to primary jm containers

* dev(regtest): add healthcheck to nginx

* dev(regtest): update vanitytorgen repo ref
2025-05-02 15:19:31 +02:00

56 lines
1.9 KiB
YAML

services:
joinmarket_native:
build:
context: ./dockerfile-deps/joinmarket/latest
dockerfile: Dockerfile
restart: unless-stopped
environment:
ENSURE_WALLET: "true"
REMOVE_LOCK_FILES: "true"
jm_blockchain_source: regtest
jm_network: testnet
jm_rpc_host: bitcoind
jm_rpc_port: 43782
jm_directory_nodes: ${JM_DIRECTORY_NODES:?You must set the onion address generated in prepare step to your .env file}
jm_minimum_makers: 1 # necessary to do coinjoins with this regtest setup; default is 4
jm_taker_utxo_age: 1 # faster testing of scheduler runs; default is 5
jm_maker_timeout_sec: 30 # easier testing of maker timeouts on regtest (and "Stall Monitor" retries); default is 60
expose:
- 62601 # obwatch
- 28183 # jmwalletd api
- 28283 # jmwalletd websocket
healthcheck:
test: ["CMD", "supervisorctl", "status"]
interval: 10s
timeout: 10s
retries: 20
start_period: 60s
start_interval: 3s
joinmarket_jam_standalone:
build:
context: ./dockerfile-deps/joinmarket/webui-standalone
dockerfile: Dockerfile
restart: unless-stopped
environment:
ENSURE_WALLET: "true"
REMOVE_LOCK_FILES: "true"
jm_blockchain_source: regtest
jm_network: testnet
jm_rpc_host: bitcoind
jm_rpc_port: 43782
jm_directory_nodes: ${JM_DIRECTORY_NODES:?You must set the onion address generated in prepare step to your .env file}
jm_minimum_makers: 1 # necessary to do coinjoins with this regtest setup; default is 4
jm_taker_utxo_age: 1 # faster testing of scheduler runs; default is 5
expose:
- 80 # nginx
- 28183 # jmwalletd api
healthcheck:
test: [ "CMD", "dinitctl", "status", "jmwalletd" ]
interval: 10s
timeout: 10s
retries: 20
start_period: 60s
start_interval: 3s