ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / test (pull_request) Successful in 8m21s
ci / lint (pull_request) Successful in 11m0s
ci / build (pull_request) Canceled after 8m49s
ci / image (pull_request) Canceled after 0s
Status page servers order certificates on demand. Verified domains were already the only ones they would order for, but nothing bounded how many: an organization switching domains, or many organizations at once, could use up the CA's rate limits that all servers sharing an ACME account depend on, and every handshake or request for a made-up name was passed on to the API. - Before a new order (not a renewal) the server asks the API (POST /agent/v1/certificates). It allows verified domains of pages that server serves, within limits per domain and day, per organization and day, and per ACME account owner and hour (UPTIME_CERTS_*), counted across all instances. - An organization can set a new custom domain at most 10 times a day. - The server remembers names without a page for a minute and passes at most 20 unknown names a second on to the API; pages the sync cached are not affected. Only real pages are recorded as visited. - The page editor explains the three steps: the TXT record, the CNAME record with the platform's status page host as its target (or the organization's own servers), apex domains, and when HTTPS follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
84 lines
3.7 KiB
Bash
84 lines
3.7 KiB
Bash
UPTIME_DATABASE_URL=postgres://uptime:uptime@localhost:5432/uptime?sslmode=disable
|
|
UPTIME_REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Sentinel instead of a single redis (docker compose --profile sentinel up -d)
|
|
# UPTIME_REDIS_SENTINEL_MASTER=uptime
|
|
# UPTIME_REDIS_SENTINEL_ADDRS=127.0.0.1:26379,127.0.0.1:26380,127.0.0.1:26381
|
|
|
|
# Generate with: echo "k1:$(head -c32 /dev/urandom | base64)"
|
|
UPTIME_SECRET_KEYS=dev:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
|
|
|
UPTIME_PUBLIC_URL=http://localhost:8080
|
|
# Lets organizations use IdPs on private networks (e.g. an internal Keycloak).
|
|
# auto = allowed for UPTIME_EDITION=selfhosted, denied for cloud.
|
|
UPTIME_SSO_ALLOW_PRIVATE_NETWORKS=auto
|
|
|
|
# Who may sign up: first-user (only the operator of a fresh installation),
|
|
# open or closed. New accounts confirm their email address before signing in:
|
|
# auto = always in the cloud edition, self-hosted only when UPTIME_SMTP_URL is
|
|
# set; required; off (self-hosted only). Sign-ups per client address (IPv6:
|
|
# per /64) in 24 hours, 0 = unlimited.
|
|
# UPTIME_SIGNUP=first-user
|
|
# UPTIME_SIGNUP_VERIFY=auto
|
|
# UPTIME_SIGNUPS_PER_IP=2
|
|
# Outgoing mail, for email channels and sign-up confirmation.
|
|
# UPTIME_SMTP_URL=smtp://user:pass@mail.example.com:587?from=uptime@example.com
|
|
|
|
# Checker and status page reach the API only. Create tokens with:
|
|
# api agent create --kind checker --region local --name dev
|
|
# api agent create --kind statuspage --name dev
|
|
# and set UPTIME_AGENT_TOKEN for each process.
|
|
UPTIME_API_URL=http://localhost:8080
|
|
|
|
# Integration tests (make test). The Redis database is flushed by the tests.
|
|
UPTIME_TEST_DATABASE_URL=postgres://uptime:uptime@localhost:5432/uptime_test?sslmode=disable
|
|
UPTIME_TEST_REDIS_URL=redis://localhost:6379/15
|
|
# Database checks are also tested against these when set
|
|
# (docker compose --profile checks up -d --wait).
|
|
# UPTIME_TEST_MYSQL_ADDR=localhost:13306
|
|
# UPTIME_TEST_MONGO_ADDR=localhost:27018
|
|
# UPTIME_TEST_MSSQL_ADDR=localhost:11433
|
|
# UPTIME_TEST_RABBITMQ_ADDR=localhost:15672
|
|
# UPTIME_TEST_KAFKA_ADDR=localhost:19092
|
|
|
|
# Reverse proxies allowed to set X-Forwarded-For (comma-separated IPs/CIDRs).
|
|
# UPTIME_TRUSTED_PROXIES=10.0.0.0/8
|
|
|
|
# How long a region with monitors may have no live checker before the
|
|
# platform's admins (platform regions) or the organization's owners (own
|
|
# regions) get an email; 0 switches it off.
|
|
# UPTIME_REGION_ALERT_AFTER=5m
|
|
|
|
# Status page servers ask before ordering a certificate for a custom domain.
|
|
# New orders (not renewals) are limited per organization and day, per hour
|
|
# for all servers sharing an ACME account (the platform's, or one
|
|
# organization's), and per domain and day. Let's Encrypt allows 300 new
|
|
# orders per account in 3 hours.
|
|
# UPTIME_CERTS_PER_ORG_PER_DAY=20
|
|
# UPTIME_CERTS_PER_HOUR=30
|
|
# UPTIME_CERTS_PER_NAME_PER_DAY=5
|
|
|
|
# Data retention (0 keeps forever). Raw results feed charts up to 24h, the
|
|
# hourly aggregate 7d and 30d, the daily aggregate up to a year; resolved
|
|
# incidents follow the daily aggregate.
|
|
# UPTIME_RETENTION_RAW=2160h
|
|
# UPTIME_RETENTION_HOURLY=9600h
|
|
# UPTIME_RETENTION_DAILY=26280h
|
|
# Delivered notifications, expired invitations and expired API tokens.
|
|
# UPTIME_RETENTION_HOUSEKEEPING=720h
|
|
# Audit log entries.
|
|
# UPTIME_RETENTION_AUDIT=8760h
|
|
# What checkers saw of HTTP responses.
|
|
# UPTIME_RETENTION_EVIDENCE=720h
|
|
|
|
# Image agents are installed and self-updated from (-checker or -statuspage
|
|
# is appended); set it to a mirror if agents cannot reach the default.
|
|
# UPTIME_AGENT_IMAGE=git.zb-server.de/zb-server/uptimesebi
|
|
|
|
# Status page server: hosts serving pages by slug; enable TLS for custom domains.
|
|
UPTIME_STATUSPAGE_URL=http://localhost:8082
|
|
UPTIME_STATUSPAGE_HOSTS=localhost
|
|
# UPTIME_STATUSPAGE_TLS=true
|
|
# UPTIME_ACME_EMAIL=ops@example.com
|
|
# UPTIME_ACME_CA=https://acme-staging-v02.api.letsencrypt.org/directory
|