Notploy

Configuration & environment variables

Environment variables that configure a Notploy installation.

Purpose — Reference the environment variables that configure the Notploy stack itself (the control plane), as opposed to the variables you give your own services. For your services' variables, see Environment variables.

These variables are read from the .env file used by the Docker Compose stack. Copy .env.example to .env and set every placeholder before exposing the instance.

Defaults are not safe for production

The defaults exist only so docker compose config works out of the box. Generate unique values for every secret, for example with openssl rand -hex 32.

Image and product

VariableDefaultDescription
NOTPLOY_FLAVORselfhostedSelects the mode and Dockerfile target: selfhosted, cloud or console.
NOTPLOY_IMAGEghcr.io/skygenesisenterprise/notployImage reference; override for a mirror.
NOTPLOY_VERSIONlatestImage tag to run.
IS_CLOUDfalseSwitches the app to cloud behaviour (managed queue, billing). Set automatically for cloud and console.
NOTPLOY_PRODUCT(derived)Explicit product override (self, cloud, console). Cloud and console require a signed entitlement.

Networking

VariableDefaultDescription
NOTPLOY_PORT3000Host port for the dashboard.
NOTPLOY_DNS_HOST_PORT53Host port for the Notploy DNS server (the container listens on 53). Must be free — systemd-resolved, dnsmasq or Pi-hole commonly occupy 53.

Database

VariableDefaultDescription
POSTGRES_USERnotployDatabase user.
POSTGRES_DBnotployDatabase name.
POSTGRES_PASSWORDchange-me…Change this. Generate with openssl rand -base64 32.

Authentication

VariableDefaultDescription
BETTER_AUTH_SECRETchange-me…Change this. Session signing secret. Generate with openssl rand -hex 32.

Miscellaneous

VariableDefaultDescription
TZUTCTimezone for the stack.

Application runtime (development)

When running the application directly rather than the container stack:

VariableDescription
DATABASE_URLPostgreSQL connection string.
PORTPort the application listens on (default 3000).
NODE_ENVdevelopment or production.
NOTPLOY_TEMPLATES_DIROptional absolute path to template blueprints. Auto-detected in a repository checkout.

On this page