Continued working on rtl
This commit is contained in:
parent
290fd467ed
commit
b389996afb
@ -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))
|
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]
|
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
|
- name: bitcoin - Create bitcoin-pod
|
||||||
containers.podman.podman_pod:
|
containers.podman.podman_pod:
|
||||||
name: bitcoin-pod
|
name: bitcoin-pod
|
||||||
@ -59,6 +69,7 @@
|
|||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
- "3010:3010"
|
- "3010:3010"
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
- "3001:3001"
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
tags: [apps,bitcoin]
|
tags: [apps,bitcoin]
|
||||||
|
|
||||||
|
|||||||
@ -46,6 +46,6 @@ COPY ./entrypoint.sh /entrypoint.sh
|
|||||||
|
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
EXPOSE 9735 9835
|
EXPOSE 9735 9835 3001
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Description=Core Lightning Server
|
|||||||
[Container]
|
[Container]
|
||||||
Image={{ registry_url }}/clightning:{{ clightning_version }}
|
Image={{ registry_url }}/clightning:{{ clightning_version }}
|
||||||
PodmanArgs=--pod bitcoin-pod
|
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
|
# Use volume
|
||||||
Volume=/home/{{ansible_user}}/vol/bitcoin/.bitcoin:/data/.bitcoin:ro,Z
|
Volume=/home/{{ansible_user}}/vol/bitcoin/.bitcoin:/data/.bitcoin:ro,Z
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user