services: vaultwarden: image: vaultwarden/server:latest restart: unless-stopped container_name: vaultwarden volumes: - ./data:/data/ networks: - net environment: - WEBSOCKET_ENABLED:true - ADMIN_TOKEN=${ADMIN_TOKEN} - SIGNUPS_ALLOWED:false #- DATABASE_URL=postgresql://postgres:5E3AXNS6STP7F8dGcMU4psHpz753EdoND6h4Q6jgp4SkAKZN@134.249.242.132/bitwarden #- DATABASE_URL=./data/db.sqlite3 backup: image: ttionya/vaultwarden-backup:latest restart: always volumes: - ./data:/bitwarden/data/ - ./config:/config/ - ./.env:/.env volumes: vaultwarden-data: # Specify the name of the volume where you save the vaultwarden data, # use vaultwarden-data for new users # and bitwardenrs-data for migrated users name: vaultwarden-data # name: bitwardenrs-data vaultwarden-rclone-data: external: true # Specify the name of the volume where you save the rclone configuration, # use vaultwarden-rclone-data for new users # and bitwardenrs-rclone-data for migrated users name: vaultwarden-rclone-data # name: bitwardenrs-rclone-data networks: net: external: true