mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
docker: Add helper script to build docker config from fragments.
Set PIVX_PARAMSDIR automatically when usecontainers is set. Fix PIVX wallet encryption when added.
This commit is contained in:
@@ -30,6 +30,11 @@ Set the latest Monero chain height, or the height your wallet must restore from:
|
||||
|
||||
Create docker-compose config:
|
||||
|
||||
# Using the helper script:
|
||||
./scripts/build_yml_files.py -c bitcoin monero
|
||||
|
||||
# Or
|
||||
|
||||
cat compose-fragments/0_start.yml > docker-compose.yml
|
||||
|
||||
# Add the relevant coin fragments
|
||||
@@ -124,6 +129,20 @@ Start BasicSwap:
|
||||
|
||||
## Add a coin
|
||||
|
||||
|
||||
Stop all running containers
|
||||
|
||||
docker-compose stop
|
||||
|
||||
|
||||
Update docker-compose config:
|
||||
|
||||
Rebuild using the helper script (must list all enabled coins):
|
||||
|
||||
./scripts/build_yml_files.py -c bitcoin monero
|
||||
|
||||
Or
|
||||
|
||||
cat compose-fragments/1_monero-wallet.yml >> docker-compose.yml
|
||||
cat compose-fragments/1_monero-wallet.yml >> docker-compose-prepare.yml
|
||||
|
||||
@@ -131,10 +150,16 @@ Start BasicSwap:
|
||||
cat compose-fragments/8_monero-daemon.yml >> docker-compose.yml
|
||||
|
||||
|
||||
Prepare config files:
|
||||
|
||||
docker-compose -f docker-compose-prepare.yml build swapprepare
|
||||
|
||||
export ADD_COIN=monero
|
||||
docker-compose -f docker-compose-prepare.yml run --rm swapprepare \
|
||||
basicswap-prepare --nocores --addcoin=${ADD_COIN} --htmlhost="0.0.0.0" --particl_mnemonic=none
|
||||
basicswap-prepare --nocores --usecontainers --addcoin=${ADD_COIN} --htmlhost="0.0.0.0" --particl_mnemonic=none
|
||||
|
||||
|
||||
Prepare wallet:
|
||||
|
||||
docker-compose build monero_daemon
|
||||
docker-compose build
|
||||
|
||||
Reference in New Issue
Block a user