AnySites

// ENVIRONMENT AND SECRETS

System Environment Variables

The `DATABASE_URL` and `PORT` variables AnySites injects automatically.

Two environment variables are set automatically for every container project and cannot be edited or deleted:

VariableValue
DATABASE_URLThe project's provisioned Postgres connection string — see Connect to DATABASE_URL. Only present if the project has a database.
PORTThe port your app is expected to listen on — matches the port set in project settings, and is what the deploy health check probes.

Static sites don't get either — there's no running process and no database by default.

Related documentation