A self-hosted password & secret management deployment using Vaultwarden (Bitwarden-compatible server) optimised for Apple Silicon / ARM64 architecture. This turns your M-series Mac Mini/Studio into a powerful professional (headless) home/studio server.
Originally forked from dadatuputi/bitwarden_gcloud, replaced and minimised external dependencies with CloudFlare Tunnel protection, and redesigned for on-premise ARM-based servers using MacOS native Apple/Container via Container Compose.
- Zero-trust networking: CloudFlare Tunnel eliminates port forwarding and direct internet exposure
- ARM-optimised: Native ARM64 images for better performance on Apple Silicon (Mac Mini M2/M4)
- Low maintenance: Watchtower keeps containers automatically updated
- Privacy-focused: Your data stays on your hardware
- Bitwarden self-hosted (via Vaultwarden)
- Runs using Apple/Container via Container Compose
- Secure external access via CloudFlare Tunnel (no port forwarding required)
- Automatic container updates via Watchtower
- Apple/Container installed
- Container Compose installed
- CloudFlare account with a configured tunnel
- Pull all required images:
container image pull vaultwarden/server:latest-alpine
container image pull cloudflare/cloudflared:latest
container image pull containrrr/watchtower:latest- Configure your environment:
cp .env.template .envEdit .env and set at minimum:
DOMAIN: Your fully-qualified domain (e.g.,https://vault.example.com)TUNNEL_TOKEN: Your CloudFlare Tunnel tokenTZ: Your timezone (e.g.,Etc/UTC)
- Start the services:
container-compose up -dbitwarden: Vaultwarden server (port 80)tunnel: CloudFlare Tunnel for secure external accesswatchtower: Automatic container updates (runs Sundays at 3am by default)
See .env.template for all available configuration options including:
- SMTP settings for email invitations
- Push notification settings
- Yubikey 2FA configuration
- Organization creation restrictions
This project is a derivative work:
- Modifications by Yumin Chen (2026) - Public Domain (Unlicense)
- Original work by Bradford (2020) - MIT Licence
See Licence file for full details.