Skip to content

X2OX/kubernetes-vaultwarden-cloudflared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-vaultwarden-cloudflared

Usage

Do not overwrite

  • DATA_FOLDER: Main data folder, hardcoded in the script
  • DATABASE_URL: Database URL, hardcoded in the script
  • IP_HEADER: Client IP Header, change will give an error getting the IP of the client
  • WEBSOCKET_ADDRESS: Controls the WebSocket server address, hardcoded in the script
  • WEBSOCKET_PORT: Controls the WebSocket server port, hardcoded in the script
  • ROCKET_ADDRESS: Server listen address, hardcoded in the script
  • ROCKET_PORT: Server listen port, hardcoded in the script
  • ROCKET_TLS: TLS setting, use Cloudflared
  • I_REALLY_WANT_VOLATILE_STORAGE: Alert about not having a persistent self defined volume, don't care

You need to set

Vaultwarden

Cloudflared

  • CLOUDFLARED_TOKEN: Cloudflare Tunnel token

Backup setting

  • BACKUP: Git, there may be more in the future
  • BACKUP_SCHEDULE: 1 * * * *, scheduled tasks for backup
  • BACKUP_GIT_REPO: https://token@github.com/owner/repo.git, Backup/Data Repository

TODO

  • Rclone backup support