Environment Variables
You can configure the agent’s behaviour with HOISTER_-prefixed environment variables.
These are one of three ways to configure Hoister — alongside the
TOML config file and per-container labels. When a
setting is given both here and in the TOML file, the environment variable wins.
Nested TOML keys map to underscores: [schedule] interval becomes HOISTER_SCHEDULE_INTERVAL.
Agent behaviour
Section titled “Agent behaviour”HOISTER_AUTO_UPDATE=true # false = detect updates but don't apply them (manual rollout)HOISTER_REPORT_METRICS=true # collect per-container CPU/memory metrics (on by default)HOISTER_REPORT_LOGS=false # forward failed-container logs to the controller (off by default)HOISTER_REDACT_KEYWORDS=license,pin # extra env-var key substrings to redact (on top of the built-ins)HOISTER_REPORT_METRICSis on by default; set it tofalseto disable metrics collection.HOISTER_REPORT_LOGSis off by default; set it totrueto forward crash/rollback logs.- Both accept
true/1/yes/onandfalse/0/no/off, and both require a controller. HOISTER_REDACT_KEYWORDSis a comma-separated list of extra keywords used to redact sensitive env-var values and log secrets. It adds to the built-in list (and anyredact_keywordsin the TOML file) rather than replacing it.
See the Metrics & log forwarding guide and the Manual Rollout guide for details.
Slack Webhook Notification
Section titled “Slack Webhook Notification”HOISTER_SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXX"HOISTER_SLACK_CHANNEL="#my-update-channel"Telegram Notification
Section titled “Telegram Notification”HOISTER_TELEGRAM_BOT_TOKEN="12345656789:XXXXXXXXXX-XXXXXXXXX-XXXXXXXXX"HOISTER_TELEGRAM_CHAT_ID="9999999999"Discord Notification
Section titled “Discord Notification”HOISTER_DISCORD_BOT_TOKEN="soijf23JASDFOIJ@.Gj7gl8.sdfoij234sdf_sdfijoij23lijasdASDF"HOISTER_DISCORD_CHANNEL_ID="12334556898709812334"Email Notification
Section titled “Email Notification”Typically, you will need to configure an app password for your email provider for this to work. Your standard password will likely not work.
HOISTER_DISPATCHER_EMAIL_SMTP_PASSWORD="super_secure_app_password"HOISTER_DISPATCHER_EMAIL_SMTP_SERVER="smtp.gmail.com"HOISTER_DISPATCHER_EMAIL_SMTP_USER="foo@bar.com"HOISTER_DISPATCHER_EMAIL_RECIPIENT="user-to-be-informed-about-update@gmail.com"Schedule updates
Section titled “Schedule updates”HOISTER_SCHEDULE_INTERVAL=60 # in secondsIf you want to define the update intervals using cron syntax, you can instead configure hoister using a toml file.