Skip to content

Commit 152134e

Browse files
committed
fix: deploy
1 parent 7aae915 commit 152134e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

public/.env.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
CLOUDFLARE_API_TOKEN=your-cloudflare-api-token-here
2+
DOMAIN=your-domain-here
3+
PORT=443

public/docker-compose.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
services:
22
caddy:
33
image: caddybuilds/caddy-cloudflare:alpine
4-
container_name: caddy_druv
4+
container_name: caddy_homelab
5+
pull_policy: always
6+
healthcheck:
7+
test: ["curl", "-i", "https://${DOMAIN}:${PORT}/health"]
8+
interval: 1m30s
9+
timeout: 30s
10+
retries: 5
11+
start_period: 30s
512
network_mode: host
613
environment:
714
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}

0 commit comments

Comments
 (0)