Insforge DB
[2.2.9] This egg/docker image was created using Claude AI.
Insforge DB Egg
InsForge is an open-source backend platform built around PostgreSQL, providing database services, APIs, authentication, storage, and edge functions.
This egg allows you to self-host InsForge using Pterodactyl or Reviactyl panels, giving you control over your backend infrastructure.
Settings
- API_BASE_URL: Public URL for your InsForge backend API.
- VITE_API_BASE_URL: Dashboard API URL. Leave blank to use API_BASE_URL.
- ADMIN_EMAIL: Initial administrator username or email.
- ADMIN_PASSWORD: Initial administrator password. Use a strong password.
- JWT_SECRET: JWT signing secret. Leave blank for automatic generation, if supported.
- ENCRYPTION_KEY: Encryption key. Leave blank to use the configured default.
- ACCESS_API_KEY: Backend API key. Leave blank for automatic generation, if supported.
- ACCESS_ANON_KEY: Anonymous API key for client applications.
- OPENROUTER_API_KEY: Optional OpenRouter AI integration.
- STRIPE_TEST_SECRET_KEY / STRIPE_LIVE_SECRET_KEY: Optional Stripe test and live credentials.
- VERCEL_TOKEN, VERCEL_TEAM_ID, VERCEL_PROJECT_ID: Optional Vercel integration.
- OAuth credentials: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET, MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, X_CLIENT_ID, X_CLIENT_SECRET, APPLE_CLIENT_ID, APPLE_CLIENT_SECRET.
- S3_BUCKET, S3_REGION, S3_ENDPOINT_URL, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY: Optional S3-compatible storage configuration.
- S3_FORCE_PATH_STYLE: Controls S3 bucket addressing.
- S3_USE_PRESIGNED_URLS: Controls presigned URL usage.
- S3_MAX_OBJECT_SIZE_BYTES: Maximum supported S3 object size.
- MAX_FILE_SIZE: Maximum upload size in bytes.
- INSFORGE_TELEMETRY_DISABLED: Set to 1 to disable anonymous telemetry.
- PGRST_DB_POOL: PostgREST connection pool size; default 50.
- POSTGREST_MAX_SOCKETS, POSTGREST_MAX_FREE_SOCKETS, POSTGREST_FREE_SOCKET_TIMEOUT_MS: PostgREST connection settings.
- WORKER_TIMEOUT_MS: Edge-function timeout in milliseconds; default 60000.
Optional integrations can remain blank if unused. Actual behavior depends on your InsForge image version.
Installation
- Import the egg JSON into your panel’s Nests section.
- Create a server using the imported egg.
- Select a supported Docker image.
- Configure environment variables, ports, and administrator credentials.
- Start the server and check the console logs.
- Configure DNS and an HTTPS reverse proxy if accessing it publicly.
Storage and Security
Local file storage uses /home/container/storage when configured by the egg. Ensure persistent storage is enabled and back up your database, uploaded files, and generated secrets.
Never expose administrator passwords, API keys, OAuth secrets, or encryption keys. Use HTTPS, secure your database, and keep your installation updated.
Troubleshooting
Check console logs for startup failures, missing directories, permission errors, incorrect API URLs, database connection problems, or storage configuration issues.
Project: https://insforge.dev/