setup
Interactive setup wizard that walks through initial homelab configuration.
Usage
sh
mithrandir setupDescription
Runs a multi-step interactive wizard that:
- Configures core settings (
BASE_DIR,PUID/PGID,TZ) - Lets you select which apps to install
- Validates required secrets (DuckDNS tokens, WireGuard config, etc.)
- Installs Docker if not present
- Generates docker-compose files and starts selected apps
- Optionally connects the server to Tailscale for remote access (opt-in)
- Saves all configuration to
.env
Flags
| Flag | Description |
|---|---|
--yes, -y | Skip confirmation prompts |
--auth-key <key> | Tailscale auth key for the remote access step (defaults to TAILSCALE_AUTH_KEY). In --yes mode, the Tailscale step only runs when a key is available |
Notes
- Requires root privileges
- Apps that require HTTPS (e.g., Vaultwarden) are skipped with a warning if
ENABLE_HTTPSis not enabled