Configuration Reference

Go-Upkeep is configured entirely via environment variables. Pass them through your Docker Compose file or directly to the container.

General

VariableDefaultDescription
UPKEEP_PORT23234The internal SSH server port.
UPKEEP_HTTP_PORT8080The internal Web server port.

Database

VariableDefaultDescription
UPKEEP_DB_TYPEsqliteDatabase engine: "sqlite" or "postgres".
UPKEEP_DB_DSN--File path for SQLite, or postgres://user:pass@host:5432/db URL.

Clustering & Security

VariableDefaultDescription
UPKEEP_CLUSTER_MODEleader"leader" (default) or "follower".
UPKEEP_PEER_URL--URL of the Leader. Required for followers. Example: http://10.0.0.5:8080
UPKEEP_CLUSTER_SECRET--Shared secret key. Required for Clustering and API Backups.

Web Features

VariableDefaultDescription
UPKEEP_STATUS_ENABLEDfalseSet to "true" to enable /status.
UPKEEP_STATUS_TITLE--Custom H1 title for the status page.