InsForge: AI Backend-as-a-Service
Self-host InsForge OSS with Pigsty v4.3 and keep state in external PostgreSQL.
InsForge is an open-source Backend-as-a-Service platform for AI coding agents, providing authentication, REST APIs, edge functions, realtime subscriptions, and an LLM gateway.
Pigsty v4.3 provides the app/insforge configuration template (conf/app/insforge.yml), using external PostgreSQL by default and launching stateless services through Docker Compose.
Quick Start
curl -fsSL https://repo.pigsty.io/get | bash; cd ~/pigsty
./bootstrap
./configure -c app/insforge
vi pigsty.yml # required: JWT_SECRET, admin password, database password, domain
./deploy.yml
./docker.yml
./app.yml
Default access URLs:
http://<IP>:7130http://isf.pigsty
The default admin account is [email protected] / pigsty; change it for production.
Key Settings
conf/app/insforge.yml overrides /opt/insforge/.env through apps.insforge.conf. Key parameters:
JWT_SECRET: JWT signing secret, must be replaced with a random value of at least 32 charactersADMIN_EMAIL/ADMIN_PASSWORD: initial admin accountPOSTGRES_HOST/POSTGRES_PORT/POSTGRES_DB/POSTGRES_USER/POSTGRES_PASSWORDOPENROUTER_API_KEY: optional LLM gateway settingAWS_*/S3_*: optional object storage settings
Default service ports:
- InsForge App + Dashboard:
7130 - PostgREST:
5430 - Auth:
7132 - Deno Runtime:
7133
Operations
cd /opt/insforge
make up
make view
make log
make stop
References
- InsForge project: https://github.com/InsForge/InsForge
- Pigsty template: https://github.com/pgsty/pigsty/blob/main/conf/app/insforge.yml
Feedback
Was this page helpful?
Thanks for the feedback! Please let us know how we can improve.
Sorry to hear that. Please let us know how we can improve.