This commit is contained in:
barry 2024-02-19 20:43:02 -06:00
parent 291455110e
commit 2414b19b41
2 changed files with 6 additions and 9 deletions

View File

@ -3,21 +3,17 @@
}
http://n0xb0x.local:8080/docs {
uri strip_prefix /docs
reverse_proxy http://n0xb0x.local:8081
redir http://n0xb0x.local:8081
}
http://n0xb0x.local:8080/lnbits {
uri strip_prefix /lnbits
reverse_proxy http://n0xb0x.local:5000
redir http://n0xb0x.local:5000
}
http://n0xb0x.local:8080/rtl {
uri strip_prefix /rtl
reverse_proxy http://n0xb0x.local:3000
redir http://n0xb0x.local:3000
}
http://n0xb0x.local:8080/cockpit {
uri strip_prefix /cockpit
reverse_proxy http://n0xb0x.local:9090
redir https://n0xb0x.local:9090
}

View File

@ -4,10 +4,11 @@ Description=Caddy Node
[Container]
# Use the centos image
Image={{ registry_url }}/caddy:{{ caddy_version }}
PublishPort=8080:8080
#Environment=RPCAUTH={{ bitcoin_rpcauth }}
# Use volume
Volume=/home/{{ansible_user}}/vol/caddy:/data:Z
Volume=/home/{{ansible_user}}/vol/caddy:/app/data:Z
[Service]
# Restart service when sleep finishes