Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. π« Status page with uptime monitoring & API monitoring as code π« openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
openstatus .env.docker.example
5.3 kB Β· 166 lines
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167# ============================================================================# Docker Environment Configuration (Example)# ============================================================================# Copy this file to .env.docker and replace with your actual values## NOTE: Build-time placeholders are set in each service's dofigen.yml file.# Values in this file override those placeholders at runtime via docker compose.# Required values are marked with [REQUIRED]# DATABASE# ============================================================================# LibSQL database connection - points to the libsql containerDATABASE_URL=http://libsql:8080DATABASE_AUTH_TOKEN=# REDIS & QUEUE# ============================================================================# Redis (optional) - for cachingUPSTASH_REDIS_REST_URL=http://localhost:6379UPSTASH_REDIS_REST_TOKEN=placeholder# QStash (optional - for background jobs)QSTASH_CURRENT_SIGNING_KEY=QSTASH_NEXT_SIGNING_KEY=QSTASH_TOKEN=QSTASH_URL=https://qstash.upstash.io/v1/publish/# ANALYTICS# ============================================================================# Tinybird (optional - for monitor analytics and charts)# Leave empty to disable analytics features# Get from: https://www.tinybird.coTINY_BIRD_API_KEY=# Tinybird URL (optional - defaults to cloud API)# For local Tinybird container, set to: http://tinybird-local:7181TINYBIRD_URL=# EMAIL# ============================================================================# [REQUIRED] Resend API key for sending magic link emails# Get from: https://resend.comRESEND_API_KEY=re_your_resend_api_key_here# AUTHENTICATION# ============================================================================# [REQUIRED] NextAuth secret - generate with: openssl rand -base64 32AUTH_SECRET=your-random-secret-here-min-32-chars# [REQUIRED] Self-hosted mode - enables magic link authentication# Set to "true" to allow email login without OAuthSELF_HOST="true"# GitHub OAuth (optional)# Get from: https://github.com/settings/developersAUTH_GITHUB_ID=AUTH_GITHUB_SECRET=# Google OAuth (optional)# Get from: https://console.cloud.google.comAUTH_GOOGLE_ID=AUTH_GOOGLE_SECRET=# GOOGLE CLOUD# ============================================================================# Google Cloud Platform (optional - for scheduled tasks)GCP_PROJECT_ID=your-valueGCP_LOCATION=your-valueGCP_CLIENT_EMAIL=your-valueGCP_PRIVATE_KEY=your-value# Cron secret for scheduled jobsCRON_SECRET=your-random-cron-secret# API KEYS# ============================================================================# Unkey (optional - for API key management)# Get from: https://unkey.devUNKEY_API_ID=UNKEY_TOKEN=# Super admin token for privileged operationsSUPER_ADMIN_TOKEN=# Server region identifierFLY_REGION=self-hosted# STRIPE# ============================================================================# Stripe (optional - for payments)# Get from: https://stripe.com/docs/keysSTRIPE_SECRET_KEY=STRIPE_WEBHOOK_SECRET_KEY=NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=# VERCEL# ============================================================================# Vercel (optional - for custom domains)# Get from: https://vercel.comPROJECT_ID_VERCEL=TEAM_ID_VERCEL=VERCEL_AUTH_BEARER_TOKEN=# Vercel Blob storage (optional)BLOB_READ_WRITE_TOKEN=# OBSERVABILITY# ============================================================================# Sentry (optional - error tracking)# Get from: https://sentry.ioNEXT_PUBLIC_SENTRY_DSN=SENTRY_AUTH_TOKEN=# OpenPanel (optional - analytics)# Get from: https://openpanel.devNEXT_PUBLIC_OPENPANEL_CLIENT_ID=OPENPANEL_CLIENT_SECRET=# PagerDuty (optional - alerting)PAGERDUTY_APP_ID=# Slack webhook (optional)SLACK_SUPPORT_WEBHOOK_URL=# Telegram Bot (optional)TELEGRAM_BOT_TOKEN=# SERVICE CONFIGURATION# ============================================================================NODE_ENV=production# [REQUIRED] Public URL for the applicationNEXT_PUBLIC_URL=http://localhost:3002# Screenshot service (optional)SCREENSHOT_SERVICE_URL=# External servicesOPENSTATUS_INGEST_URL=https://openstatus-private-location.fly.dev# Docs knowledge base for the AI assistant / MCP server (optional)# The search_docs and get_doc_page tools query this site's /api/search and# /api/markdown endpoints. Defaults to the public openstatus.dev docs.# OPENSTATUS_WEB_BASE_URL=https://www.openstatus.dev# AI chat provider (optional). Configure ONE option to enable the assistant.# Option 1 β OpenAI-compatible endpoint (NVIDIA NIM, vLLM, Ollama, OpenRouterβ¦).# Recommended for self-hosting; takes priority when AI_BASE_URL is set. The model# MUST support tool calling. AI_API_KEY is optional for keyless local gateways.# AI_BASE_URL=https://integrate.api.nvidia.com/v1# AI_API_KEY=nvapi-xxxxx# AI_MODEL=meta/llama-3.1-70b-instruct# Option 2 β Vercel AI Gateway (model chosen by workspace plan).# AI_GATEWAY_API_KEY=# DEVELOPMENT & TESTING# ============================================================================# Turbo build modeTURBO_ENV_MODE=loose# Playground API keys (optional)PLAYGROUND_UNKEY_API_KEY=# Workspace settings (optional)WORKSPACES_HIDE_URL=