lbrynet-multiarch-compiler: Add notes that a config file must be mounted.

This commit is contained in:
Ryan McGuire authored and Leopere committed 2019-06-27 14:17:25 -04:00
1 parent 4f4a9c9aab
commit 33f3eeb8df
1 file changed
+5 -3
+5 -3
View File
@@ -64,11 +64,13 @@ is to ensure that the wallet is backed up to a real storage device. You must run
the container with the appropriate volume argument, or else lbrynet will refuse
to run.
If you compiled lbrynet as above, with the tag `lbrynet-x86:v0.37.2`, you could run
The config file must be mounted at `/etc/lbry/daemon_settings.yml`.
If you compiled lbrynet as above, with the tag `lbrynet:v0.37.2`, you could run
docker like so:
```
docker run --rm -it -v wallet:/home/lbrynet lbrynet-x86:v0.37.2 lbrynet start
docker run --rm -it -v wallet:/home/lbrynet -v /path/to/daemon_settings.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2 lbrynet start
```
This automatically creates a docker volume called `wallet` and it will persist
@@ -79,7 +81,7 @@ If you would rather not use a docker volume, you can mount a directory
from your host instead:
```
docker run --rm -it -v /path/on/your/host:/home/lbrynet lbrynet-x86:v0.37.2 lbrynet start
docker run --rm -it -v /path/on/your/host:/home/lbrynet -v /path/to/daemon_settings.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2 lbrynet start
```
Either way, the container uses the configuration from `/home/lbrynet` inside the container.