Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 964 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 964 Bytes

Uptime Kuma

Caddy as reverse proxy for Uptime Kuma.

🚀 Quick start

Download the compose.yaml file:

curl -O https://raw.githubusercontent.com/gremo/compose-selfhosted/main/src/uptime-kuma/compose.yaml

Create an empty .env file to hold environment variables:

touch .env

⚙️ Environment variables

Supported variables:

Variable Required Default Description
DOMAIN localhost The domain name

🌐 Endpoints

docker compose up -d
Endpoint Service
http://localhost Uptime Kuma

🪄 Tips

A www redirection to non-www can be performed adding the following labels to the caddy service:

labels:
  caddy: www.${DOMAIN:-localhost}
  caddy.redir: "http://${DOMAIN:-localhost}{uri}"