mirror of
https://github.com/AskDavis/cyphernode.git
synced 2026-01-01 04:25:58 -08:00
Fixed cln directory and some permission issues
This commit is contained in:
@@ -38,6 +38,7 @@ COPY app/bin/lightning-cli_x86 ${HOME}/lightning-cli
|
||||
WORKDIR ${HOME}
|
||||
|
||||
RUN chmod +x startproxy.sh requesthandler.sh lightning-cli \
|
||||
&& chmod o+w . \
|
||||
&& mkdir db
|
||||
|
||||
VOLUME ["${HOME}/db", "${HOME}/.lightning"]
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
trace()
|
||||
{
|
||||
if [ -n "${TRACING}" ]; then
|
||||
echo "$(date -Is) ${1}" > /dev/stderr
|
||||
echo "$(date -Is) ${1}" 1>&2
|
||||
fi
|
||||
}
|
||||
|
||||
trace_rc()
|
||||
{
|
||||
if [ -n "${TRACING}" ]; then
|
||||
echo "$(date -Is) Last return code: ${1}" > /dev/stderr
|
||||
echo "$(date -Is) Last return code: ${1}" 1>&2
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ WATCHER_BTC_NODE_RPC_URL=btcnode:18332/wallet/watching01.dat
|
||||
SPENDER_BTC_NODE_RPC_URL=btcnode:18332/wallet/spending01.dat
|
||||
PROXY_LISTENING_PORT=8888
|
||||
# Variable substitutions don't work
|
||||
HOME=/proxy
|
||||
DB_PATH=/proxy/db
|
||||
DB_FILE=/proxy/db/proxydb
|
||||
# Pycoin container
|
||||
|
||||
Reference in New Issue
Block a user