Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add comparison table to install method index page (#1181)
Leendert de Borstb5207d97fb9c
diff --git a/docs/index.md b/docs/index.mdindex 8379d7491..9fb7b6ccf 100644--- a/docs/index.md+++ b/docs/index.md@@ -13,7 +13,7 @@ A privacy-first password manager with built-in email aliasing. Fully encrypted a{: .fs-6 .fw-300 }-[Self-host installation](./installation){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }+[Self-host Install](./installation){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }[View on GitHub](https://github.com/aliasvault/aliasvault){: .btn .fs-5 .mb-4 .mb-md-0 }---diff --git a/docs/installation/index.md b/docs/installation/index.mdindex f6df5396f..60c663366 100644--- a/docs/installation/index.md+++ b/docs/installation/index.md@@ -8,45 +8,111 @@ nav_order: 2AliasVault can be self-hosted on your own servers using two different installation methods. Both use Docker, but they differ in how much is automated versus how much you manage yourself:+| | **Option 1: Installer Script (multi-container)** | **Option 2: Manual Setup (single container)** |+|--------------------------|---------------------------------------------------|-----------------------------------------------|+| **Best for** | ☁️ VPS/VM/Proxmox, cloud hosts, DigitalOcean, AWS/Azure | 🏠 NAS/Synology/Unraid, Raspberry Pi, home servers |+| **Internet accessible** | Direct internet access with ports 80/443 | Behind existing infrastructure |+| **TLS/SSL** | Built-in reverse proxy + Let's Encrypt (automatic) | Bring your own (Traefik, Nginx, HAProxy, Caddy) |+| **Containers** | Multiple containers (client, api, postgres, task runner, smtp, admin, reverse proxy) | Single bundled container (all-in-one) |+| **Configuration** | Automatic docker-compose.yml setup | Standard Docker commands |+| **Updates** | `install.sh` assisted updates & migrations | `docker pull` (manual); occasional manual migrations |+| **Admin actions** | `install.sh` helpers for admin password reset | SSH into container for certain tasks (e.g. password reset) |+| **Setup style** | Managed, opinionated, production-ready defaults | Fits into existing homelab/stack tools (Portainer compatible) |+| **Build from source** | Optional (supported) | Pre-built container only |+| **Choose if…** | You want auto SSL and a managed stack | You already have TLS and prefer manual control |+| | [**Self-host via Installer Script →**](./installer){: .btn .btn-primary } | [**Self-host via Manual Setup →**](./manual){: .btn .btn-primary } |++----## Option 1: Installer Script (multi-container)+## Frequently Asked Questions-[Install AliasVault via installer script (multi-container)](./installer){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }+<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">Which installation method should I choose?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">-> **Best for:**-> - VM or LXC (e.g. Proxmox, DigitalOcean Droplet, VPS, AWS/Azure VM)-> - When the host is directly accessible from the internet and/or has ports 80/443 forwarded to it-> - When you don't have any TLS termination proxy of your own (yet)+**Choose the Installer Script if:**+- You have a dedicated VM or VPS for AliasVault+- Your server is directly accessible from the internet+- You want automatic SSL certificates via Let's Encrypt+- You prefer a managed, production-ready setup with CLI helpers-This option installs the full AliasVault stack **consisting of multiple Docker containers** (client, api, ppostgres, task runner, smtp, admin, reverse proxy) in the background.+**Choose Manual Setup if:**+- You're running a home server or NAS (Synology, Unraid, etc.)+- You already have a reverse proxy handling SSL (Traefik, Nginx, Caddy)+- You want to manage AliasVault alongside other Docker containers+- You prefer using standard Docker commands and tools like Portainer-The `install.sh` script provides:-- **Automatic configuration of docker-compose.yml with multiple containers**-- **Built-in reverse proxy with Let's Encrypt TLS certificates**-- **Easy updates and migrations** via a custom CLI-- **Start/stop/uninstall commands** for convenience-- Allows to build Docker containers from source (optional)-- Opinionated defaults for a secure, production-ready setup+</div>+</details>----+<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">What's the difference between multi-container and single container?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">++| **Multi-container (Installer Script)** | **Single container (Manual Setup)** |+|----------------------------------------|-------------------------------------|+| Separates services into individual containers | All services bundled in one container |+| Easier to scale individual components | Simpler to manage with Docker commands |+| Uses docker-compose for orchestration | Lower resource overhead |+| Better for production deployments | Better for home labs and personal use |++</div>+</details>++<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">Do I need to handle SSL/TLS certificates myself?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">++- **Installer Script**: No, it includes automatic Let's Encrypt certificates+- **Manual Setup**: Yes, you need your own reverse proxy for HTTPS++</div>+</details>++<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">How do updates work?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">++| Method | Update Process |+|--------|---------------|+| **Installer Script** | Run `./install.sh update` for automated updates and migrations |+| **Manual Setup** | Use `docker pull` to get the latest image; manual migrations may be required |++</div>+</details>++<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">Can I migrate between installation methods?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">++Yes! Both methods use the same bind mount directories (`/database`, `/certificates`, `/logs`, `/secrets`), making migration straightforward. Simply stop/uninstall via one method and follow the installation steps for the other - your data will be preserved.-## Option 2: Manual Setup (single container)+</div>+</details>-[Install AliasVault via manual setup (single container)](./manual){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 }+<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">What are the system requirements?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">+**Minimum requirements:**+- 64-bit Linux OS (Ubuntu or RHEL-based recommended)+- 1 vCPU, 1GB RAM, 16GB disk+- Docker CE (≥ 20.10) and Docker Compose (≥ 2.0)-> **Best for:**-> - Multi-purpose home servers / NAS (Synology, Unraid, Raspberry Pi, local Docker)-> - Users with existing shared TLS/SSL infrastructure (Traefik, Nginx, HAProxy, Caddy, etc.)+**Network requirements:**+- Ports 80 and 443 available+- Optional: Ports 25 and 587 for private email domains-This option runs AliasVault as a **single bundled Docker container** (client, API, Postgres, task runner, SMTP, etc. included).+</div>+</details>-Everything is managed via **standard Docker commands**:-- Updates are done manually with `docker pull`-- In some cases, future updates may require **manual migration steps** (these will be documented)-- Certain admin actions (e.g. resetting a password) require **manual container access via SSH**-- TLS/SSL termination not included (you must handle HTTPS yourself separately)+<details style="margin-bottom: 10px;">+<summary style="background-color: #4a5568; color: #ffffff; padding: 10px; border-radius: 5px; cursor: pointer;">Can I build from source?</summary>+<div style="background-color: #2d3748; color: #ffffff; padding: 15px; border-left: 3px solid #4299e1;" markdown="1">+- **Installer Script**: Yes, optional build from source is supported+- **Manual Setup**: No, uses pre-built container images only-👉 Use this option if you **already manage TLS/SSL**, have an existing host where you are running other Docker apps already, and/or prefer to manage the AliasVault Docker container with existing management tools like Portainer.+</div>+</details>