Don't want to read all this? Give this link to your agent: https://astrodock.ai/llms.txt
ASTRODOCK Get Started

Features · Databases & Storage

A database and file storage for every app.

Each app can have its own Postgres database and its own S3-compatible storage bucket, created on its first deploy. Or connect your own, and the app's code stays the same.

Three Choices for Each App

01

Internal

Astrodock creates the database and the bucket, each with its own credentials. The database is backed up every night.

02

External

Use a managed service instead. You add its credentials, and Astrodock gives them to the app.

03

None

Plenty of apps need neither. Then nothing is created.

Switching Later

Moving to your own database is a setting.

Internal and external hand the app the same variable name. The code reads a connection string, and works the same whether the database is on your Astrodock server or with another provider.

When an app needs a managed Postgres with replicas, you change a setting and redeploy. The code doesn't change.

Bringing Your Own Database →
app.json
{
  "database": { "mode": "internal" },
  "storage":  { "mode": "none" }
}

# the app reads, either way:
ASTRODOCK_DATABASE_URL

Side by Side

Internal or external, side by side.

Your app reads the same variable either way.

 InternalExternal
Who Creates ItAstrodock, on deployYou, at your provider
Where It RunsYour Astrodock serverNeon, RDS, Supabase, R2
App ReadsASTRODOCK_DATABASE_URLASTRODOCK_DATABASE_URL
Code ChangesNoneNone
Backed Up ByAstrodock, nightly (the database)Your provider
Good ForStarting, and most small appsScale, replicas, compliance