Set defaults and allowed for envvars from compose files.
This commit is contained in:
parent
ca8a827ca7
commit
f16039dc37
1 changed files with 3 additions and 7 deletions
|
@ -1,8 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
CONFIG_PATH=/etc/lbry/daemon_settings.yml
|
"lbrynet start \
|
||||||
|
--api "${API_BIND_IP:-0.0.0.0}":"${API_PORT:-5179}" \
|
||||||
echo "Config: "
|
--config ${CONFIG_PATH:-/etc/lbry/daemon_settings.yml}"
|
||||||
cat $CONFIG_PATH
|
|
||||||
|
|
||||||
lbrynet start --config $CONFIG_PATH
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue