Skip to content

Configuration

Set these on stacky’s own container. Compose labels that change what stacky does per service are listed under Labels; the in-app help lists both.

Variable Default Description
STACKY_PORT 5005 HTTP port to listen on
STACKY_HOSTNAME all addresses Address to bind to
STACKY_DISPLAY_NAME Docker host’s name Name of this stacky in notifications, to tell instances apart (e.g. nas). Not the bind address; that is STACKY_HOSTNAME. Defaults to the Docker engine’s host name, then the container’s hostname. On Docker Desktop or OrbStack the engine’s name is the VM’s (docker-desktop, orbstack), so set this
STACKY_STACKS_DIR /opt/stacks Directory containing one sub-directory per stack. Must be mounted at the same path as on the host
STACKY_DATA_DIR /app/data Stacky’s database and state
STACKY_WEB_DIR /app/web in the image Directory of the built web UI. Only change it if you build stacky yourself
STACKY_AUTH_DISABLED false Turn off built-in authentication. Only use this behind a reverse proxy that authenticates for you
STACKY_TRUSTED_PROXIES (none) Comma-separated proxy addresses or CIDRs whose X-Forwarded-* headers are trusted
STACKY_ADMIN_USER (none) Seed the admin username (set together with STACKY_ADMIN_PASSWORD)
STACKY_ADMIN_PASSWORD (none) Seed the admin password
STACKY_AUTH_SECRET generated Secret that signs sign-in sessions. Generated on first start and kept in <STACKY_DATA_DIR>/auth-secret when unset
STACKY_BASE_URL (none) Public URL of stacky, used for links (including in notifications) and OIDC callbacks
STACKY_DOCKER_HOST host of the UI Hostname or IP that published container ports are reachable on, used for port links (e.g. docker.lan when stacky is served at stacky.docker.lan). A bare host, not a Docker socket address
STACKY_CONTAINER_ID autodetected Override detection of stacky’s own container (used by self-update)
STACKY_UPDATE_CHECK true Check GitHub for newer stacky releases and show an update banner
STACKY_UPDATE_SCHEDULE 6h Default image update check schedule (hourly, nightly, weekly, monthly, 6h, a cron pattern or never); change it in Settings
STACKY_UPDATE_INTERVAL 6 Legacy: hours between image update checks, used when STACKY_UPDATE_SCHEDULE is not set; 0 disables scheduled checks
STACKY_OIDC_ISSUER (none) OIDC issuer URL; enables single sign-on (with the client id and secret)
STACKY_OIDC_CLIENT_ID (none) OIDC client id
STACKY_OIDC_CLIENT_SECRET (none) OIDC client secret
STACKY_OIDC_NAME SSO Label of the sign-in button
STACKY_OIDC_SCOPES openid profile email Scopes to request (add groups for group checks)
STACKY_OIDC_ALLOWED_GROUPS (none) Comma-separated groups allowed to sign in
STACKY_OIDC_AUTO_REDIRECT false Send visitors straight to the provider (/login?local=1 shows the form)
STACKY_REGISTRY_<PROVIDER>_<NAME>_<KEY> (none) Registry credentials for update checks, e.g. STACKY_REGISTRY_LSCR_PRIVATE_USERNAME / _TOKEN; What’s Up Docker’s WUD_REGISTRY_* names work too. See Private registries
STACKY_APP_PLATFORMS all App platforms whose external apps stacky reports versions for: a comma-separated list of ids (truenas), all or none
STACKY_TRUENAS_CATALOG_URL TrueNAS catalog on GitHub Where the TrueNAS app catalog (catalog.json) is downloaded from, e.g. a mirror for an instance without internet access
STACKY_ICON_CDN selfh.st icons on jsDelivr Where selfh.st app icons are fetched from (once, then cached); empty disables icon sets (URL labels still work)
STACKY_LOG_LEVEL info debug, info, warn or error
TZ UTC Time zone for update schedules and cron patterns (e.g. Europe/Berlin)
DOCKER_HOST first socket found Docker engine address. When unset, stacky uses the first of /var/run/docker.sock, $XDG_RUNTIME_DIR/docker.sock and the Docker Desktop and OrbStack sockets that exists
DOCKER_CONFIG ~/.docker Directory of the config.json whose auths are used for private registries
STACKY_DOCKER_BIN docker The docker CLI stacky runs
STACKY_GIT_BIN git The git CLI stacky runs