ship other workaround, 2 sets of daemons

mm-logging
lza_menace 4 years ago
parent adc44d6e03
commit cb71927ed3

@ -8,6 +8,12 @@ DAEMON_PORT = 34568
DAEMON_USER = ''
DAEMON_PASS = ''
INT_DAEMON_PROTO = 'http'
INT_DAEMON_HOST = 'node.suchwow.xyz'
INT_DAEMON_PORT = 34568
INT_DAEMON_USER = ''
INT_DAEMON_PASS = ''
# Wallets
WALLET_DIR = './data/wallets'
WOWNERO_IMAGE = 'lalanza808/wownero:v0.9.0.0'

@ -27,8 +27,8 @@ class Docker(object):
--restore-height {daemon.info()['height']} \
--password {u.wallet_password} \
--mnemonic-language English \
--daemon-address {config.DAEMON_PROTO}://{config.DAEMON_HOST}:{config.DAEMON_PORT} \
--daemon-login {config.DAEMON_USER}:{config.DAEMON_PASS} \
--daemon-address {config.INT_DAEMON_PROTO}://{config.INT_DAEMON_HOST}:{config.INT_DAEMON_PORT} \
--daemon-login {config.INT_DAEMON_USER}:{config.INT_DAEMON_PASS} \
--log-file /wallet/{u.id}-create.log
--command version
"""
@ -60,8 +60,8 @@ class Docker(object):
--wallet-file /wallet/{u.id}.wallet \
--rpc-login {u.id}:{u.wallet_password} \
--password {u.wallet_password} \
--daemon-address {config.DAEMON_PROTO}://{config.DAEMON_HOST}:{config.DAEMON_PORT} \
--daemon-login {config.DAEMON_USER}:{config.DAEMON_PASS} \
--daemon-address {config.INT_DAEMON_PROTO}://{config.INT_DAEMON_HOST}:{config.INT_DAEMON_PORT} \
--daemon-login {config.INT_DAEMON_USER}:{config.INT_DAEMON_PASS} \
--log-file /wallet/{u.id}-rpc.log
"""
try: