AliasVault
Privacy-first password manager with a built-in email alias generator
Alternative to: 1password, bitwarden, simplelogin, firefox relay
AliasVault is a privacy-first password and email alias manager that creates unique identities, strong passwords, and random email aliases for every website you use. A built-in email server lets those aliases actually receive mail, and the complete vault plus received emails are end-to-end encrypted with a zero-knowledge architecture. It ships with browser extensions and native mobile apps, and has zero third-party dependencies.
AliasVault Docker Compose example
Self-host AliasVault on your own server, homelab, or VPS starting from this Docker Compose example.
It runs AliasVault in Docker containers using the official ghcr.io/aliasvault/aliasvault:latest image, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
aliasvault:
image: ghcr.io/aliasvault/aliasvault:latest
volumes:
- database:/database
- logs:/logs
- secrets:/secrets
- certificates:/certificates
restart: unless-stopped
environment:
# Redirect all HTTP traffic (port 80) to HTTPS (port 443). Keep "false" when TLS is terminated by your own reverse proxy.
FORCE_HTTPS_REDIRECT: "false"
# Allow anyone who can reach the web app to create an account. Set to "false" to disable public sign-ups.
PUBLIC_REGISTRATION_ENABLED: "true"
# Comma-separated list of your own email domains AliasVault should accept incoming mail for (requires MX records pointing to this server). Leave empty to use the public SpamOK domains.
PRIVATE_EMAIL_DOMAINS: ""
# Comma-separated private email domains that still receive mail but are hidden from the UI (must also be listed in PRIVATE_EMAIL_DOMAINS).
HIDDEN_PRIVATE_EMAIL_DOMAINS: ""
# Hostname announced in the SMTP banner and EHLO responses, e.g. mail.example.com.
SMTP_ADVERTISED_HOSTNAME: "aliasvault"
# Enable STARTTLS for incoming SMTP connections (requires a certificate in the certificates volume).
SMTP_TLS_ENABLED: "false"
# Log the IP addresses of users for security auditing.
IP_LOGGING_ENABLED: "true"
# Email address shown to users when they need support. Leave empty to hide it.
SUPPORT_EMAIL: ""
volumes:
database:
logs:
secrets:
certificates: Prefer a managed setup? WinterFlow installs, configures, and updates AliasVault for you using this same Docker Compose configuration.