Apps with Postgres
Host a full-stack app with a Postgres database
Most apps an agent builds want a real database. Here Postgres is a second container of the same app: no separate service to sign up for, no connection string to copy between dashboards, and its data stays on its own volume.
Paste this into your coding agent
no key · no account
Run curl -s https://vibecodedhost.com/deploy.md and follow its instructions to deploy this project.
Works in Claude Code, Codex, Cursor and anything else that can run a shell command.
The files
What your agent writes.
You do not have to write any of this. It is here so you can see how little there is, and check your agent's work if a deploy goes wrong.
With this manifest the app would be live at https://my-app.vibecodedhost.app. The name is yours to choose, as long as no other app has it.
{
"version": 1,
"name": "my-app",
"containers": [
{
"name": "db",
"image": "postgres:16-alpine",
"port": 5432,
"env": {
"POSTGRES_USER": "app",
"POSTGRES_PASSWORD": "app",
"POSTGRES_DB": "app"
},
"volume": "/var/lib/postgresql/data",
"memoryMb": 384
},
{
"name": "web",
"build": {
"context": ".",
"dockerfile": "Dockerfile"
},
"port": 3000,
"public": true,
"env": {
"NODE_ENV": "production",
"DATABASE_URL": "postgres://app:app@db:5432/app"
},
"healthPath": "/"
}
]
}Worth knowing
Apps with Postgres on Vibe Hosting
Reach it by name
Not exposed to the internet
Data survives redeploys
List the database first, and retry
Back up what matters
Questions
Before you deploy.
Can I use MySQL, Redis or another database instead?
An app can run any stock image with an explicit tag from a public registry such as Docker Hub, as long as it fits in the app's memory and runs in the sandbox. Postgres is the one our own example uses.
How big can the database get?
Storage is 2 GB for a free app and 50 GB once subscribed, counted across all of the app's volumes.
Built something else? Next.js, Node.js and Express, FastAPI, Flask, Django, React and Vite, Apps with SQLite, Docker Compose projects.
Deploy from
Use the agent you already have.
- Claude CodeTerminal, IDE and desktopDeploy from Claude Code →
- CodexTerminal, IDE and cloudDeploy from Codex →
- CursorEditorDeploy from Cursor →
- OpenCodeTerminalDeploy from OpenCode →
- Gemini CLITerminalDeploy from Gemini CLI →
- GitHub CopilotEditor and terminalDeploy from GitHub Copilot →
- WindsurfEditorDeploy from Windsurf →
- ClineEditor extensionDeploy from Cline →
Your app could be online in a few minutes.
Copy the sentence, paste it into your agent, and read the address it gives you back. No account, no card, nothing to pay.
Paste this into your coding agent
no key · no account
Run curl -s https://vibecodedhost.com/deploy.md and follow its instructions to deploy this project.
Works in Claude Code, Codex, Cursor and anything else that can run a shell command.
Would you rather hold the key yourself?
Questions first, or stuck? Contact support and a person replies as soon as possible.