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

Features · Secrets & Config

API keys and settings stay out of your code.

Your app lists the names of the variables it needs. You set the values in the dashboard or with the CLI. They're stored encrypted and given to the app when it runs.

An app's variables in the dashboard. Required ones are marked and secret values are hidden.
An app's variables, with secrets hidden

Why It Helps

01

No .env to Leak

There's no secrets file in the working tree, so there's none to commit by accident or paste into a chat window.

02

Safe to Hand to an Agent

Your agent writes the manifest and commits it. It contains variable names and nothing else, so nothing secret ends up in the repository.

03

Never Half-Configured

A missing required value stops the deploy before it starts and says which one. Your users never see a half-configured app.

Two Kinds of Variable

Your variables, and the platform's.

Everything the platform supplies carries a reserved prefix: the app's URL, the port to bind, the database connection string, and the addresses it needs for sign-in. Your own variables can't use that prefix, so there's never a question about where a value came from.

An app reads its own address from these, so it can move to a different domain without code changes.

The Full Variable List →
You Declare STRIPE_SECRET_KEY · required · secret
The Platform Injects ASTRODOCK_DATABASE_URL
ASTRODOCK_APP_URL · ASTRODOCK_PORT
Missing a Value Deploy blocked — STRIPE_SECRET_KEY has no value

The Reserved Set

What every app is given.

Present when the manifest asks for the matching resource. Your own variables may not use the reserved prefix, so the two can never be confused.

VariableWhenWhat It Is
ASTRODOCK_PORTAlwaysThe port your server must bind
ASTRODOCK_APP_URLAlwaysYour app's public address
ASTRODOCK_DATABASE_URLdatabase ≠ nonePostgres connection string
ASTRODOCK_STORAGE_*storage ≠ noneEndpoint, bucket, keys
ASTRODOCK_AUTHORIZE_URLauth = platformWhere to send a browser to sign in