Configuration
Everything is configured at container startup via environment
variables — there is no admin UI to drift from your compose file. This page
lists every variable in the community edition.
Core
| Variable | Default | Purpose |
SITEBIN_BASE_DOMAIN | — (required) | Main domain. View subdomains, edit UI, API and WebDAV live under it. May include a port for URL generation (host:8085). |
SITEBIN_VIEW_ACCESS | subdomain | How site content is served: subdomain (<id>.base, needs a wildcard cert), path (base/v/<id>/, no wildcard needed), or both. |
SITEBIN_DATA_DIR | /data | Data root. |
TLS & domains
| Variable | Default | Purpose |
SITEBIN_DNS_PROVIDER | — | DNS module for the wildcard cert: cloudflare, hetzner, duckdns. Only needed for subdomain/both. |
SITEBIN_DNS_TOKEN | — | API token for the DNS provider (read via env by Caddy, never written to disk). |
SITEBIN_TLS_SNIPPET | — | Advanced: raw lines injected into the wildcard site's tls { … } block (for multi-credential providers like netcup/porkbun). |
SITEBIN_ACME_EMAIL | — | ACME account email. |
SITEBIN_HTTP_ONLY | false | Serve plain HTTP only (local testing / external TLS). |
Limits & rates
| Variable | Default | Purpose |
SITEBIN_MAX_SITE_BYTES | 104857600 | Per-site storage cap (100 MiB). |
SITEBIN_MAX_FILES | 1000 | Per-site file-count cap. |
SITEBIN_MAX_EXPIRY_DAYS | 0 (off) | Optional cap on how far in the future expiry may be set. |
SITEBIN_RATE_CREATE_PER_HOUR / SITEBIN_RATE_CREATE_BURST | 30 / 10 | Anonymous creation limit per IP. |
SITEBIN_RATE_AUTH_PER_5MIN | 10 | Password-attempt limit per (IP, site) — edit, view, and WebDAV auth. |
WebDAV & FTP
| Variable | Default | Purpose |
SITEBIN_WEBDAV_ENABLED | true | Global WebDAV switch (per-site toggle still applies). |
SITEBIN_FTP_ENABLED | false | Global FTP switch (per-site toggle also required). |
SITEBIN_FTP_ADDR / SITEBIN_FTP_PASV_PORT_MIN / _MAX | :21 / 21000 / 21010 | FTP control port + passive data-port range (map them in docker run). |
SITEBIN_FTP_PUBLIC_HOST | base domain | Host advertised for FTP passive mode. |
SITEBIN_FTP_TLS_CERT / SITEBIN_FTP_TLS_KEY | — | Optional PEM cert/key for FTPS (encrypts credentials). |
Misc
| Variable | Default | Purpose |
SITEBIN_EMBED_ORIGINS | — | Origins allowed to embed the create flow cross-origin (comma-separated, or *). Enterprise feature — the community edition ignores it with a warning. See Embed component. |
SITEBIN_TRACK_VIEWS | true | Count per-site page views (Accept: text/html) + last-seen. |
SITEBIN_READONLY | false | Freeze new site creation. |
SITEBIN_CLEANUP_INTERVAL | 10m | Expiry sweep interval. |