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:
tecnovert
2019-07-18 22:06:36 +02:00
parent 21b23fe865
commit 818b5f1ab2
3 changed files with 36 additions and 2 deletions

View File

@@ -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)