Bunker’s defaults suit most teams. These are the knobs. Settings are stored in the database and can be pinned with environment variables (BUNKER_ + the key in capitals, dots as underscores); a pinned value wins.
false (default) / true: owners may make sites viewable by anyone with the link, without signing in. Turning it off closes every public link.
maxSitesPerUser
max_sites_per_user
0 to 100,000 (0 = no limit)
siteMaxMB
site_max_mb
1 to 10,240
uploadMaxMB
upload_max_mb
1 to 10,240
allowedGroups
auth.allowed_groups
Comma-separated groups allowed to sign in (empty = everyone)
admin.policy.get also returns pinned: which ones are fixed by the environment. Changing a pinned one fails with 409 conflict. Every change is audited as admin.config with the old and new values.
Built-in accounts. Can only be turned off once company sign-in works (details)
BUNKER_ALLOWED_GROUPS
Only members of these groups can sign in with Entra or OIDC
BUNKER_ALLOW_GUESTS
false
Allow Entra guest accounts
auth.allowed_domains
Email domains allowed for Google and OIDC
admins / BUNKER_ADMINS
Emails and groups who are always admins
BUNKER_SESSION_DAYS
14
Session lifetime; slides forward with use
BUNKER_TOKEN_MAX_DAYS
90
Longest lifetime of a personal access token
Admins manage people in Admin → People: invite (invites.create), make admin or disable (users.update), reset passwords (users.reset_password), and move all of someone’s apps to another person when they leave (sites.transfer_all).