fix: use 0.1.6 image, on-demand TLS with ask endpoint, healthcheck on /tls-check

This commit is contained in:
notplants
2026-04-05 07:20:01 +00:00
parent c302a88237
commit 76988456c8
4 changed files with 11 additions and 5 deletions

View File

@ -17,4 +17,4 @@ COMPOSE_FILE="compose.yml"
#EXTRA_DOMAIN_1=mysite.example.org
# Caddy config version
CADDYFILE_VERSION=v1
CADDYFILE_VERSION=v2

View File

@ -1,3 +1,9 @@
{
on_demand_tls {
ask http://app:9000/tls-check
}
}
:443 {
tls {
on_demand

View File

@ -1 +1 @@
export CADDYFILE_VERSION=v1
export CADDYFILE_VERSION=v2

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: notplants/lichen-full:0.1.5
image: notplants/lichen-full:0.1.6
networks:
- internal
environment:
@ -19,10 +19,10 @@ services:
max_attempts: 5
labels:
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.1.5"
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.1.6"
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9000/"]
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:9000/tls-check"]
interval: 30s
timeout: 10s
retries: 5