Add a database next to your projects
Databases
Postgres, Redis or FerretDB, reachable only by your projects. From Mini up.
4 bots online now · server status
orders-dbPostgres 16 · 512 MB
not added
creating
ready
Engine
Postgres
Redis
FerretDB
DATABASE_URL
postgres://shop:••••@orders-db:5432/orders
shop-api · app.py
rows = await db.fetch(
"SELECT id, item, total FROM orders")
| id | item | total |
| 1204 | Hoodie, M | 34.90 |
| 1203 | Mug | 12.00 |
| 1202 | Sticker pack | 4.50 |
3 rows
- Pick Postgres
- Attach your apps
- Add the database
- Query it
Demo: a Postgres database is added, attached to shop-api and orders-bot, and shop-api queries it.
- 1Add it
- 2Restart the bot
- 3Use it
Plans
PlanBotsRAMCPUStorageBackupsPrice
- Bots
- up to 2
- RAM
- 256 MB
- CPU
- 0.25
- Storage
- 1 GB
- Backups
- weekly, kept 1 day
- Bots
- as many as fit in 512 MB
- RAM
- 512 MB
- CPU
- 0.5
- Storage
- 3 GB
- Backups
- daily, kept 2 days
- Bots
- as many as fit in 1 GB
- RAM
- 1 GB
- CPU
- 0.75
- Storage
- 5 GB
- Backups
- daily, kept 4 days
- Bots
- as many as fit in 2 GB
- RAM
- 2 GB
- CPU
- 1.5
- Storage
- 12 GB
- Backups
- daily, kept 7 days
- Bots
- as many as fit in 4 GB
- RAM
- 4 GB
- CPU
- 2
- Storage
- 25 GB
- Backups
- daily, kept 14 days
Questions about HostDC or what we host?
FAQ