Running InsForge locally or in production
# Clone repository git clone https://github.com/insforge/insforge cd insforge # Copy environment variables cp .env.example .env # Start all services docker compose up
http://localhost:7130
http://localhost:5430
localhost:5432
.env
# Core Configuration PORT=7130 JWT_SECRET=your-secret-key-here-must-be-32-char-or-above # Admin Account (for first login) ADMIN_EMAIL=admin@example.com ADMIN_PASSWORD=change-this-password # PostgreSQL (optional - defaults work) POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_DB=insforge # OAuth (optional) GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= # S3 Storage (optional - uses local by default) AWS_S3_BUCKET= AWS_REGION=us-east-2 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY=
# Copy the example file cp .env.example .env # Edit with your values (especially JWT_SECRET) nano .env
docker compose up -d
curl http://localhost:7130/api/health
POSTGRES_*
AWS_S3_BUCKET=your-bucket AWS_REGION=us-east-1 AWS_ACCESS_KEY_ID=your-key AWS_SECRET_ACCESS_KEY=your-secret
/api/logs
# Check all services docker compose ps # View logs docker compose logs -f insforge # Restart services docker compose restart # Reset everything docker compose down -v docker compose up