【Container】Vaultwarden(Bitwarden)

【Container】Vaultwarden(Bitwarden)

Administrator 409 2022-07-19

vaultwarden (Bitwarden)

Bitwarden官方地址    GitHub项目地址    Docker Hub 地址

Vaultwarden 是一个用 Rust 编写的非官方 Bitwarden 服务器实现,以前称为 bitwarden_rs。它与官方 Bitwarden 客户端兼容,非常适合不希望运行官方资源密集型服务的自托管部署。


---
version: "2.1"
services:
  vaultwarden:
    image: vaultwarden/server
    container_name: vaultwarden
    environment:
      - PUID=0
      - PGID=0
      - TZ=Asia/Shanghai
      - SERVER_ADMIN_EMAIL=1@22.al
      - SIGNUPS_ALLOWED=false
      - INVITATIONS_ALLOWED=true
      - WEBSOCKET_ENABLED=true
      - ADMIN_TOKEN=     #随机生成token
    volumes:
      - /home/appdata/vaultwarden/data:/data
    networks:
      - mynet
    ports:
      - 7080:80
    restart: unless-stopped

networks:
  mynet:
    external:
      name: mynet