Continued working on rtl

This commit is contained in:
b0xxer 2024-02-17 11:06:11 -06:00
parent 290fd467ed
commit b389996afb
3 changed files with 13 additions and 2 deletions

View File

@ -47,6 +47,16 @@
when: ((bitcoin_rpcuser is defined) and (bitcoin_rpcuser|length==0)) or ((bitcoin_rpcpassword is defined) and (bitcoin_rpcpassword|length==0)) or ((bitcoin_rpcauth is defined) and (bitcoin_rpcauth|length==0))
tags: [apps,bitcoin]
# Port list:
# 50001 - electrs
# 4224 - ?
# 8333 - bitcoin
# 8332 - bitcoin
# 9735 - clightning
# 3001 - clightning
# 3000 - rtl
# 5000 - lnbits
- name: bitcoin - Create bitcoin-pod
containers.podman.podman_pod:
name: bitcoin-pod
@ -59,6 +69,7 @@
- "9735:9735"
- "3010:3010"
- "3000:3000"
- "3001:3001"
- "5000:5000"
tags: [apps,bitcoin]

View File

@ -46,6 +46,6 @@ COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 9735 9835
EXPOSE 9735 9835 3001
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -4,7 +4,7 @@ Description=Core Lightning Server
[Container]
Image={{ registry_url }}/clightning:{{ clightning_version }}
PodmanArgs=--pod bitcoin-pod
Exec=--bitcoin-rpcuser={{bitcoin_rpcuser}} --bitcoin-rpcpassword={{bitcoin_rpcpassword}} --clnrest-port=3010 --clnrest-host=0.0.0.0
Exec=--bitcoin-rpcuser={{bitcoin_rpcuser}} --bitcoin-rpcpassword={{bitcoin_rpcpassword}} --clnrest-port=3001 --clnrest-host=0.0.0.0 --clnrest-certs=/root/.lightning
# Use volume
Volume=/home/{{ansible_user}}/vol/bitcoin/.bitcoin:/data/.bitcoin:ro,Z