lbrynet: Add sample daemon_settings.yml
This commit is contained in:
parent
2dfcfb876c
commit
3affa790e3
2 changed files with 5 additions and 2 deletions
|
@ -70,7 +70,7 @@ If you compiled lbrynet as above, with the tag `lbrynet:v0.37.2`, you could run
|
||||||
docker like so:
|
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
|
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:
|
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.
|
Either way, the container uses the configuration from `/home/lbrynet` inside the container.
|
||||||
|
|
3
lbrynet/stuff/daemon_settings_test.yml
Normal file
3
lbrynet/stuff/daemon_settings_test.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
api: 0.0.0.0:5279
|
||||||
|
streaming_server: 0.0.0.0:5280
|
||||||
|
use_upnp: false
|
Loading…
Reference in a new issue