diff --git a/DOCKER.md b/DOCKER.md index 2f3e41117cf..d600c008878 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -30,6 +30,19 @@ docker compose up -d If you already have a PostgreSQL instance, you can run just the app container: +Need a hosted PostgreSQL database? We recommend [Neon](https://get.neon.com/VqfnMo4) for serverless Postgres with connection pooling and database branching. + +
+

Sponsored by

+ + + + + Neon Logo fallback + + +
+ ```bash docker build -f docker/Dockerfile -t prompts.chat . docker run -d \ diff --git a/README.md b/README.md index 7ef148e6111..08f8d9bc2d9 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,19 @@ npm install && npm run setup The setup wizard configures branding, theme, authentication (GitHub/Google/Azure AD), and features. +**Recommended database:** prompts.chat uses PostgreSQL. For a hosted database, we recommend [Neon](https://get.neon.com/VqfnMo4). + +
+

Sponsored by

+ + + + + Neon Logo fallback + + +
+ 📖 **[Full Self-Hosting Guide](SELF-HOSTING.md)** • 🐳 **[Docker Guide](DOCKER.md)** --- @@ -167,6 +180,14 @@ Use prompts.chat as an MCP server in your AI tools. ## 💖 Sponsors

+ + + + + + Neon + +    diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index c3d9ee2eda5..9623d49d1ea 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -36,6 +36,21 @@ This guide explains how to deploy **prompts.chat** on your own private server fo - **PostgreSQL** database - **npm** +## Recommended Database + +prompts.chat requires PostgreSQL. For a hosted PostgreSQL database, we recommend [Neon](https://get.neon.com/VqfnMo4): it provides serverless Postgres, connection pooling, and branching that work well for self-hosted prompts.chat deployments. + +

+

Sponsored by

+
+ + + + Neon Logo fallback + + +
+ ## Environment Variables Create a `.env` file based on `.env.example`: diff --git a/prompts.config.ts b/prompts.config.ts index 106c49e64a1..7c8a9e6c7f1 100644 --- a/prompts.config.ts +++ b/prompts.config.ts @@ -77,6 +77,7 @@ export default defineConfig({ enabled: !useCloneBranding, items: [ // Add sponsors here + { name: "Neon", className: 'py-1', logo: '/sponsors/neon.svg', darkLogo: '/sponsors/neon-dark.svg', url: "https://get.neon.com/VqfnMo4" }, { name: "Clemta", logo: '/sponsors/clemta.webp', url: "https://clemta.com/?utm_source=prompts.chat" }, { name: "Wiro.ai", className: 'py-1', darkLogo: '/sponsors/wiro.png', logo: '/sponsors/wiro.png', url: "https://wiro.ai/?utm_source=prompts.chat" }, { name: "Cognition", logo: "/sponsors/cognition.svg", url: "https://wind.surf/prompts-chat" }, diff --git a/public/sponsors/neon-dark.svg b/public/sponsors/neon-dark.svg new file mode 100644 index 00000000000..1a753ce9eda --- /dev/null +++ b/public/sponsors/neon-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/sponsors/neon.svg b/public/sponsors/neon.svg new file mode 100644 index 00000000000..59292fd60fd --- /dev/null +++ b/public/sponsors/neon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/app/docs/self-hosting/page.tsx b/src/app/docs/self-hosting/page.tsx index 40251f9e82f..c9b927e75c0 100644 --- a/src/app/docs/self-hosting/page.tsx +++ b/src/app/docs/self-hosting/page.tsx @@ -119,6 +119,52 @@ export default async function SelfHostingPage() { + {/* Recommended Database */} +
+

+ + Recommended Database +

+
+

+ prompts.chat requires PostgreSQL. For a hosted database, we recommend{" "} + + Neon + + {" "}for serverless Postgres, connection pooling, and database branching. +

+
+

Sponsored by

+ + Neon + Neon + +
+
+
+ {/* Installation */}

Quick Start