Files
wehub-resource-sync 3a28426bf4
Lint and Format Check / lint-and-format (push) Failing after 0s
Check Migrations / Check for duplicate migration numbers (push) Failing after 1s
CI Pre-merge Check / CI Pre-merge Check (push) Failing after 2m17s
chore: import upstream snapshot with attribution
2026-07-13 12:23:40 +08:00

77 lines
2.2 KiB
Bash

# PostgreSQL Configuration (optional - defaults shown)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=insforge
# Port Configuration
# Change these to run multiple instances on the same host
POSTGRES_PORT=5432
POSTGREST_PORT=5430
APP_PORT=7130
AUTH_PORT=7131
DENO_PORT=7133
API_BASE_URL=http://localhost:7130
VITE_API_BASE_URL=http://localhost:7130
# Authentication
JWT_SECRET=your-secret-key-here-must-be-32-char-or-above
ROOT_ADMIN_USERNAME=admin
ROOT_ADMIN_PASSWORD=change-this-password
# Encryption key for secrets and database encryption (will use JWT_SECRET if not provided)
ENCRYPTION_KEY=
# Worker timeout in milliseconds (default: 60000 ms)
WORKER_TIMEOUT_MS=60000
# OpenRouter Configuration
# Get your API key from https://openrouter.ai/keys
OPENROUTER_API_KEY=
# Anonymous Telemetry
# Set INSFORGE_TELEMETRY_DISABLED=1 to disable anonymous self-host telemetry.
INSFORGE_TELEMETRY_DISABLED=
# Stripe Payments Configuration (Optional)
# Get your secret keys from https://dashboard.stripe.com/apikeys
STRIPE_LIVE_SECRET_KEY=
STRIPE_TEST_SECRET_KEY=
# Deployment Configuration (Optional)
# Required for self-hosted site deployments and custom domains.
VERCEL_TOKEN=
VERCEL_TEAM_ID=
VERCEL_PROJECT_ID=
# OAuth Configuration (Optional)
# Google OAuth - Get credentials from https://console.cloud.google.com/
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# GitHub OAuth - Get credentials from https://github.com/settings/developers
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
#Microsoft OAuth - Get credentials from https://portal.azure.com/
MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=
# Discord OAuth - Get credentials from https://discord.com/developers/applications
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# LinkedIn OAuth - Get credentials from https://www.linkedin.com/developers/apps
LINKEDIN_CLIENT_ID=
LINKEDIN_CLIENT_SECRET=
# X OAuth - Get credentials from https://developer.twitter.com/en/portal/dashboard
X_CLIENT_ID=
X_CLIENT_SECRET=
# Apple OAuth - Get credentials from https://developer.apple.com/account/resources/identifiers/list
# APPLE_CLIENT_ID is your Services ID (e.g., com.yourapp.service)
# APPLE_CLIENT_SECRET must be a JSON string with teamId, keyId, and privateKey (PKCS#8 PEM format from .p8 file)
APPLE_CLIENT_ID=
APPLE_CLIENT_SECRET=