lbrynet: Add sample daemon_settings.yml

This commit is contained in:
Ryan McGuire 2019-06-18 09:51:43 -04:00 committed by Leopere
parent 33f3eeb8df
commit baba45bf00
2 changed files with 5 additions and 2 deletions

View file

@ -70,7 +70,7 @@ 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 -v /path/to/daemon_settings.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2 lbrynet start
docker run --rm -it -v wallet:/home/lbrynet -v $(pwd)/stuff/daemon_settings_test.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2
```
This automatically creates a docker volume called `wallet` and it will persist
@ -81,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 -v /path/to/daemon_settings.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2 lbrynet start
docker run --rm -it -v /path/on/your/host:/home/lbrynet -v $(pwd)/stuff/daemon_settings_test.yml:/etc/lbry/daemon_settings.yml lbrynet:v0.37.2
```
Either way, the container uses the configuration from `/home/lbrynet` inside the container.

View file

@ -0,0 +1,3 @@
api: 0.0.0.0:5279
streaming_server: 0.0.0.0:5280
use_upnp: false