Monitor websites uptime using Cloudflare Workers
Something went wrong. Try again.
uptime .env.example
1.2 kB · 33 lines
at optimization
12345678910111213141516171819202122232425262728293031323334# PostgreSQL must already exist and be reachable from the containers.DATABASE_URL=postgresql://uptime:replace-me@database.example.com:5432/uptime# API and single-admin authenticationAPI_HOST=0.0.0.0API_PORT=3324# Set true when the browser reaches the app over HTTPS.SESSION_COOKIE_SECURE=falseADMIN_EMAIL=admin@example.com# Generate an Argon2id hash; never commit the plaintext password.ADMIN_PASSWORD_HASH=SESSION_SECRET=SESSION_TTL_SECONDS=604800# Web UI (Vite) in Compose. UPTIME_API_PROXY_TARGET must point at the API in the# same app container. Set UPTIME_ALLOWED_HOSTS when reaching Vite through# another hostname (e.g. a reverse proxy); Vite rejects other Host headers.UPTIME_API_PROXY_TARGET=http://127.0.0.1:3000UPTIME_ALLOWED_HOSTS=# Scheduler-to-probe signing and Worker URL suffixREGIONS_LIST="us-east,us-west,canada-central,eu-west,eu-north,eu-south,asia,asia-east,asia-south"WORKERS_URL_DOMAIN=account.workers.devPROBE_SIGNING_SECRET=PROBE_REQUEST_MAX_SKEW_SECONDS=60SCHEDULER_POLL_INTERVAL_MS=1000SCHEDULER_INSTANCE_ID=local-1SCHEDULER_MAX_CONCURRENT_PROBES=32# Per-deployment Worker valuesPROBE_REGION=us-eastPROBE_MAX_REQUEST_BYTES=65536PROBE_VERSION=dev