Skip to content

Instantly share code, notes, and snippets.

@shrumm
Last active January 7, 2026 08:16
Show Gist options
  • Select an option

  • Save shrumm/7142a31a8d82fc8d5d7f5effeac2a6a4 to your computer and use it in GitHub Desktop.

Select an option

Save shrumm/7142a31a8d82fc8d5d7f5effeac2a6a4 to your computer and use it in GitHub Desktop.
Render blueprint for promptbin.sh
services:
# Web service - Docker-based for CGO/FTS5 support
- type: web
name: promptbin
runtime: docker
plan: starter
region: oregon
branch: main
# Auto-deploy on push to main
autoDeploy: true
# Docker configuration
dockerfilePath: ./Dockerfile
dockerContext: .
# Persistent disk for SQLite database
disk:
name: promptbin-data
mountPath: /data
sizeGB: 1
# Environment variables
envVars:
- key: PORT
value: 8080
- key: DATABASE_PATH
value: /data/prompts.db
- key: LOG_FORMAT
value: json
- key: LOG_LEVEL
value: info
- key: ALLOWED_ORIGIN
value: https://promptbin.sh
# Health check endpoint
healthCheckPath: /health
# Resource allocation
numInstances: 1
# Custom domain
domains:
- promptbin.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment