parent
8c9105ce01
commit
3bbb483a0a
8 changed files with 52 additions and 34 deletions
@ -1 +0,0 @@ |
||||
docker |
@ -1,7 +1,29 @@ |
||||
|
||||
# Docker Setup |
||||
|
||||
## Build the images |
||||
``` |
||||
$ docker-compose build |
||||
``` |
||||
|
||||
## Prepare the binaries, coin dirs and settings |
||||
``` |
||||
$ docker run -t --name swap_prepare -v /tmp/coindata:/coindata i_swapclient basicswap-prepare --datadir=/coindata --withcoins=monero --withoutcoins=litecoin |
||||
``` |
||||
|
||||
Record the mnemonic from the output of the above command. |
||||
|
||||
Remove swap_prepare container (and logs): |
||||
``` |
||||
$ docker rm swap_prepare |
||||
``` |
||||
|
||||
|
||||
# Running on windows 10 |
||||
|
||||
|
||||
Work in progress - doesn't work reliably. |
||||
|
||||
Running on windows 10 |
||||
|
||||
Install the latest docker toolbox from: |
||||
https://github.com/docker/toolbox/releases |
@ -1,2 +1,2 @@ |
||||
HTML_PORT=127.0.0.1:12700:12700 |
||||
COINDATA_PATH=./coindata |
||||
COINDATA_PATH=/var/data/basicswap |
||||
|
@ -0,0 +1,6 @@ |
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
chown -R swap_user "$DATADIRS" |
||||
exec gosu swap_user "$@" |
||||
|
Loading…
Reference in new issue