mirror of
https://github.com/apricote/home-cloud.git
synced 2026-02-08 18:57:02 +00:00
bitwarden deployment
This commit is contained in:
commit
42ec743a00
24 changed files with 498 additions and 0 deletions
39
services/bitwarden/vars.tf
Executable file
39
services/bitwarden/vars.tf
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
variable location {
|
||||
type = "string"
|
||||
default = "nbg1"
|
||||
}
|
||||
|
||||
variable ssh_key_id {
|
||||
type = "string"
|
||||
}
|
||||
|
||||
variable volume_size {
|
||||
type = "string"
|
||||
default = 10
|
||||
}
|
||||
|
||||
variable name {
|
||||
type = "string"
|
||||
default = "bitwarden"
|
||||
}
|
||||
|
||||
variable volume_name {
|
||||
type = "string"
|
||||
default = "bitwarden-data"
|
||||
}
|
||||
|
||||
variable host {
|
||||
type = "string"
|
||||
default = "bitwarden.apricote.de"
|
||||
}
|
||||
|
||||
variable bitwarden_admin_email {
|
||||
type = "string"
|
||||
}
|
||||
|
||||
locals = {
|
||||
volume_path = "/mnt/${var.volume_name}"
|
||||
|
||||
install_dir = "/opt/${var.name}"
|
||||
bitwarden_data_dir = "${local.volume_path}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue