mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +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:
@@ -7,7 +7,7 @@
|
||||
volumes:
|
||||
- ${DATA_PATH}/monero_wallet:/data
|
||||
expose:
|
||||
- ${XMR_WALLET_PORT}
|
||||
- ${XMR_WALLET_RPC_PORT}
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
volumes:
|
||||
- ${DATA_PATH}/wownero_wallet:/data
|
||||
expose:
|
||||
- ${BASE_WOW_WALLET_PORT}
|
||||
- ${WOW_WALLET_RPC_PORT}
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
- ${DATA_PATH}/firo:/data/firo
|
||||
environment:
|
||||
- TZ
|
||||
- BSX_DOCKER_MODE
|
||||
- UI_HTML_PORT
|
||||
- COINS_RPCBIND_IP
|
||||
- BASICSWAP_DATADIR
|
||||
@@ -43,7 +44,7 @@
|
||||
- XMR_ZMQ_PORT
|
||||
- XMR_WALLETS_DIR
|
||||
- XMR_WALLET_RPC_HOST
|
||||
- XMR_WALLET_PORT
|
||||
- XMR_WALLET_RPC_PORT
|
||||
- XMR_WALLET_RPC_USER
|
||||
- XMR_WALLET_RPC_PWD
|
||||
- DEFAULT_XMR_RESTORE_HEIGHT
|
||||
@@ -53,7 +54,7 @@
|
||||
- BASE_WOW_ZMQ_PORT
|
||||
- WOW_WALLETS_DIR
|
||||
- WOW_WALLET_RPC_HOST
|
||||
- BASE_WOW_WALLET_PORT
|
||||
- WOW_WALLET_RPC_PORT
|
||||
- WOW_WALLET_RPC_USER
|
||||
- WOW_WALLET_RPC_PWD
|
||||
- DEFAULT_WOW_RESTORE_HEIGHT
|
||||
|
||||
@@ -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