mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Added notes to run the docker example on windows.
Set the log file to append. Set docker example config to listen on all interfaces. docker-compose is setup to bind the port only to localhost, on windows docker runs in a virtualbox instance and the swap client must listen on all interfaces to pass through the connection: host -> vbox -> docker -> swapserver
This commit is contained in:
@@ -165,7 +165,7 @@ def main():
|
||||
if not os.path.exists(data_dir):
|
||||
os.makedirs(data_dir)
|
||||
|
||||
with open(os.path.join(data_dir, 'basicswap.log'), 'w') as fp:
|
||||
with open(os.path.join(data_dir, 'basicswap.log'), 'a') as fp:
|
||||
print(os.path.basename(sys.argv[0]) + ', version: ' + __version__ + '\n\n')
|
||||
runClient(fp, data_dir, chain)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user