mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
refactor prepare script, set manage_daemon to false if a custom host or port is set.
If the user sets the -COIN-_RPC_HOST or PORT variables manage_daemon will be set to false. The -COIN-_MANAGE_DAEMON variable can override this and set manage_daemon directly. if BSX_DOCKER_MODE is active -COIN-_MANAGE_DAEMON will default to false.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
HTML_PORT=12700
|
||||
WS_PORT=11700
|
||||
TZ=UTC
|
||||
BSX_DOCKER_MODE=true
|
||||
|
||||
DATA_PATH=/var/swapdata/
|
||||
|
||||
@@ -40,7 +41,7 @@ XMR_RPC_PORT=29798
|
||||
|
||||
XMR_WALLETS_DIR=/data/monero_wallet
|
||||
XMR_WALLET_RPC_HOST=monero_wallet
|
||||
XMR_WALLET_PORT=29998
|
||||
XMR_WALLET_RPC_PORT=29998
|
||||
XMR_WALLET_RPC_USER=xmr_wallet_user
|
||||
XMR_WALLET_RPC_PWD=xmr_wallet_pwd
|
||||
|
||||
@@ -50,7 +51,7 @@ BASE_WOW_RPC_PORT=34598
|
||||
|
||||
WOW_WALLETS_DIR=/data/wownero_wallet
|
||||
WOW_WALLET_RPC_HOST=wownero_wallet
|
||||
BASE_WOW_WALLET_PORT=34798
|
||||
WOW_WALLET_RPC_PORT=34798
|
||||
WOW_WALLET_RPC_USER=wow_wallet_user
|
||||
WOW_WALLET_RPC_PWD=wow_wallet_pwd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user