Skip to content

Commit

Permalink
dev(regtest): 'wait-for-bitcoind' feature (#559)
Browse files Browse the repository at this point in the history
* dev(regtest): 'wait-for-bitcoind' feature
  • Loading branch information
theborakompanioni authored Nov 9, 2022
1 parent 1d18230 commit 6e2ee47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docker/regtest/docker-compose-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ services:
dockerfile: Dockerfile
restart: unless-stopped
environment:
READY_FILE: /root/.regtest-initializer/btc_fully_synched
ENSURE_WALLET: "true"
REMOVE_LOCK_FILES: "true"
jm_blockchain_source: regtest
Expand All @@ -30,7 +29,6 @@ services:
dockerfile: Dockerfile
restart: unless-stopped
environment:
READY_FILE: /root/.regtest-initializer/btc_fully_synched
ENSURE_WALLET: "true"
REMOVE_LOCK_FILES: "true"
jm_blockchain_source: regtest
Expand Down
5 changes: 3 additions & 2 deletions docker/regtest/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
file: docker-compose-common.yml
service: joinmarket_native
environment:
READY_FILE: /root/.regtest-initializer/btc_fully_synched
jm_rpc_wallet_file: jm_primary
jm_rpc_user: joinmarket
jm_rpc_password: joinmarket
Expand Down Expand Up @@ -39,10 +40,8 @@ services:
- "29183:28183" # exposed for "init setup" routine
volumes:
- "joinmarket2_datadir:/root/.joinmarket"
- "initializer_datadir:/root/.regtest-initializer"
depends_on:
- bitcoind
- bitcoind_regtest_initializer
- irc

joinmarket3:
Expand All @@ -51,6 +50,8 @@ services:
file: docker-compose-common.yml
service: joinmarket_jam_standalone
environment:
READY_FILE: /root/.regtest-initializer/btc_fully_synched
WAIT_FOR_BITCOIND: "false"
jm_rpc_wallet_file: jm_tertiary
jm_rpc_user: joinmarket3
jm_rpc_password: joinmarket3
Expand Down

0 comments on commit 6e2ee47

Please sign in to comment.