Files
MineGeo/.env.example

43 lines
2.0 KiB
Plaintext

# Public website URL (HTTPS for hosted contributor pairing)
MINEGEO_URL=http://localhost:3000
# Bind to 0.0.0.0 when intentionally accessing a development server over the LAN.
MINEGEO_HOST=127.0.0.1
# Optional comma-separated exact public origins for a reverse proxy or aliases.
MINEGEO_ALLOWED_ORIGINS=
# Optional public community links. Leave either blank to hide its footer button.
# Discord: https://discord.gg/<invite> or https://discord.com/invite/<invite>
# Telegram: https://t.me/<channel-or-group> (private group invite links also work).
MINEGEO_DISCORD_URL=
MINEGEO_TELEGRAM_URL=
# Optional server-only Discord bot integration. All published parties use one channel.
# Create a bot at https://discord.com/developers/applications and invite it to your server.
# Channel IDs are copied with Discord Developer Mode enabled. Never use NEXT_PUBLIC_ here.
DISCORD_BOT_TOKEN=
DISCORD_MAPS_CHANNEL_ID=
DISCORD_PARTIES_CHANNEL_ID=
# Optional bearer secret for scheduled GET /api/integrations/discord/dispatch retries.
CRON_SECRET=
# Development testing only; production rejects this bypass of CSRF protection.
MINEGEO_ALLOW_ANY_ORIGIN=false
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
# Server only. Never prefix this key with NEXT_PUBLIC_.
SUPABASE_SECRET_KEY=
# Optional direct PostgreSQL connection for maintenance. Runtime uses the Supabase API.
DATABASE_URL=
MINEGEO_FACE_SIZE=1024
# Worker heap ceiling in MiB; does not reserve memory or change the web server heap.
MINEGEO_WORKER_HEAP_MB=4096
# Fail with an actionable error if rendering makes no reported progress for this long.
MINEGEO_RENDER_IDLE_SECONDS=600
# Allow Chromium to use the GPU; software forces SwiftShader for headless hosts.
MINEGEO_RENDER_BACKEND=auto
MINEGEO_MAX_UPLOAD_BYTES=268435456
# Player bug reports. Keep secrets server-only; configure Production on Vercel.
LINEAR_API_KEY=
LINEAR_WEBHOOK_SECRET=
LINEAR_TEAM_ID=
# Optional UUID or project identifier (MineGeo: P-DUN-3).
LINEAR_PROJECT_ID=