# Settings for compose.yaml; copy to .env (chmod 600) and fill in. # Parts to run: db and redis bundle TimescaleDB and Redis, checker and # statuspage add a checker and a status page server on this host. COMPOSE_PROFILES=db,redis # Image and channel: latest (releases), beta, edge (main), or a version. UPTIME_TAG=latest # UPTIME_IMAGE=git.zb-server.de/zb-server/uptimesebi # Address users reach the console at. UPTIME_PUBLIC_URL=http://localhost:8080 UPTIME_PORT=8080 # Encrypts stored secrets; generate with: echo "k1:$(head -c32 /dev/urandom | base64)" UPTIME_SECRET_KEYS= # first-user, open or closed. UPTIME_SIGNUP=first-user # UPTIME_SMTP_URL=smtp://user:pass@host:587?from=alerts@example.com # Address of a reverse proxy in front, e.g. 172.16.0.0/12 for one in Docker. # UPTIME_TRUSTED_PROXIES= # Bundled database and Redis (profiles db and redis); generate with: # head -c24 /dev/urandom | base64 | tr -d '/+=' POSTGRES_PASSWORD= REDIS_PASSWORD= # Or your own; then drop db and redis from COMPOSE_PROFILES. # UPTIME_DATABASE_URL=postgres://uptime:...@db.example.com:5432/uptime?sslmode=require # UPTIME_REDIS_URL=redis://:...@redis.example.com:6379/0 # Checker on this host (profile checker); token from: # docker compose exec api api region add # docker compose exec api api agent create --kind checker --region --name # UPTIME_CHECKER_TOKEN= # Status page server on this host (profile statuspage); token from: # docker compose exec api api agent create --kind statuspage --name # UPTIME_STATUSPAGE_TOKEN= # UPTIME_STATUSPAGE_HOSTS=status.example.com # UPTIME_STATUSPAGE_PORT=8082 # UPTIME_STATUSPAGE_URL=https://status.example.com