Set defaults and allowed for envvars from compose files.

This commit is contained in:
Leopere 2019-07-28 13:58:12 -04:00 committed by GitHub
parent ca8a827ca7
commit f16039dc37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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