mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-08 15:35:44 +01:00
cyphernode proxy is now able to write files to user owned directories using su-exec
This commit is contained in:
@@ -7,26 +7,27 @@ services:
|
||||
- "TRACING=1"
|
||||
- "WATCHER_BTC_NODE_RPC_URL=<%= (bitcoin_mode === 'internal')?'bitcoin':bitcoin_node_ip %>:<%= (net === 'mainnet')?'8332':'18332' %>/wallet/watching01.dat"
|
||||
- "WATCHER_BTC_NODE_RPC_USER=<%= bitcoin_rpcuser %>:<%= bitcoin_rpcpassword %>"
|
||||
- "WATCHER_BTC_NODE_RPC_CFG=/proxyuser/watcher_btcnode_curlcfg.properties"
|
||||
- "WATCHER_BTC_NODE_RPC_CFG=/tmp/watcher_btcnode_curlcfg.properties"
|
||||
- "SPENDER_BTC_NODE_RPC_URL=<%= (bitcoin_mode === 'internal')?'bitcoin':bitcoin_node_ip %>:<%= (net === 'mainnet')?'8332':'18332' %>/wallet/spending01.dat"
|
||||
- "SPENDER_BTC_NODE_RPC_USER=<%= bitcoin_rpcuser %>:<%= bitcoin_rpcpassword %>"
|
||||
- "SPENDER_BTC_NODE_RPC_CFG=/proxyuser/sender_btcnode_curlcfg.properties"
|
||||
- "SPENDER_BTC_NODE_RPC_CFG=/tmp/sender_btcnode_curlcfg.properties"
|
||||
- "PROXY_LISTENING_PORT=8888"
|
||||
- "DB_PATH=/proxyuser/db"
|
||||
- "DB_FILE=/proxyuser/db/proxydb"
|
||||
- "DB_PATH=/app/db"
|
||||
- "DB_FILE=/app/db/proxydb"
|
||||
- "PYCOIN_CONTAINER=pycoin:7777"
|
||||
- "OTS_CONTAINER=otsclient:6666"
|
||||
- "DERIVATION_PUB32=<%= xpub %>"
|
||||
- "DERIVATION_PATH=<%= derivation_path %>"
|
||||
- "WATCHER_BTC_NODE_PRUNED=<%= bitcoin_prune?'true':'false' %>"
|
||||
image: cyphernode/proxy
|
||||
command: "$USER /app/startproxy.sh"
|
||||
<% if ( devmode ) { %>
|
||||
ports:
|
||||
- "8888:8888"
|
||||
<% } %>
|
||||
volumes:
|
||||
- "<%= proxy_datapath %>:/proxyuser/db"
|
||||
- "<%= lightning_datapath %>:/proxyuser/.lightning"
|
||||
- "<%= proxy_datapath %>:/app/db"
|
||||
- "<%= lightning_datapath %>:/app/.lightning"
|
||||
# deploy:
|
||||
# placement:
|
||||
# constraints: [node.hostname==dev]
|
||||
|
||||
Reference in New Issue
Block a user