Vaultwarden
Vaultwarden (formerly Bitwarden_RS) is an unofficial, lightweight, Rust-based implementation of the Bitwarden server API. It is fully compatible with all official Bitwarden clients — browser extensions, mobile apps, desktop apps, and the CLI — while using dramatically fewer resources than the official server. This stack uses SQLite for storage by default, making it ideal for personal or small-team deployments without the overhead of a separate database server. All vault data, attachments, and configuration are persisted in a named volume. Features include WebSocket notifications for real-time sync, optional admin panel, SMTP email support for invitations, and two-factor authentication support. After deployment, access the web vault on port 80 and create your first account. Enable the admin panel by setting ADMIN_TOKEN for server management.
शामिल सर्विसेज़
vaultwarden
vaultwarden/server:latest
एनवायरनमेंट वेरिएबल्स:
जनरेटेड YAML
# Generated by ComposeHub (composehub.dev)
name: vaultwarden
services:
vaultwarden:
image: vaultwarden/server:latest
restart: always
ports:
- 80:80
volumes:
- vaultwarden_data:/data
environment:
DOMAIN: ${DOMAIN:-http://localhost}
SIGNUPS_ALLOWED: ${SIGNUPS_ALLOWED:-true}
INVITATIONS_ALLOWED: ${INVITATIONS_ALLOWED:-true}
ADMIN_TOKEN: ${ADMIN_TOKEN:-}
WEBSOCKET_ENABLED: ${WEBSOCKET_ENABLED:-true}
LOG_LEVEL: ${LOG_LEVEL:-info}
SMTP_HOST: ${SMTP_HOST:-}
SMTP_PORT: ${SMTP_PORT:-587}
SMTP_FROM: ${SMTP_FROM:-}
SMTP_SECURITY: ${SMTP_SECURITY:-starttls}
SMTP_USERNAME: ${SMTP_USERNAME:-}
SMTP_PASSWORD: ${SMTP_PASSWORD:-}
networks:
- vaultwarden
healthcheck:
test:
- CMD-SHELL
- curl -f http://localhost/alive || exit 1
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
deploy:
resources:
limits:
cpus: "1.00"
memory: 512M
reservations:
cpus: "0.10"
memory: 64M
labels:
com.composehub.description: Vaultwarden password manager server
networks:
vaultwarden:
driver: bridge
volumes:
vaultwarden_data:
driver: local
त्वरित जानकारी
- सर्विसेज़
- 1
- नेटवर्क्स
- 1
- वॉल्यूम्स
- 1
कब उपयोग करें
यह टेम्पलेट एक vaultwarden एनवायरनमेंट सेटअप के लिए आदर्श है। सभी सर्विसेज़ healthchecks, रिसोर्स लिमिट्स और उचित डिफ़ॉल्ट सेटिंग्स के साथ पहले से कॉन्फ़िगर्ड हैं। प्रोडक्शन में डिप्लॉय करने से पहले एनवायरनमेंट वेरिएबल्स कस्टमाइज़ करें।
सुझाव
- डिप्लॉय करने से पहले सभी डिफ़ॉल्ट पासवर्ड बदलें
- अपने हार्डवेयर के अनुसार रिसोर्स लिमिट्स की समीक्षा करें
- प्रोडक्शन HTTPS के लिए रिवर्स प्रॉक्सी जोड़ें
- डेटा वॉल्यूम्स के लिए बैकअप रणनीतियाँ कॉन्फ़िगर करें