70 lines
1.5 KiB
HCL
70 lines
1.5 KiB
HCL
variable "cloudflare_key" {
|
|
type = "string"
|
|
description = "cloudflare API Key"
|
|
}
|
|
|
|
variable "web_username" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "web_password" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "mysql_root_password" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "mysql_lychee_password" {}
|
|
|
|
variable "mysql_airsonic_password" {}
|
|
|
|
variable "mysql_kodi_password" {}
|
|
|
|
variable "mysql-ttrss-password" {}
|
|
|
|
variable "wiki_session_secret" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "ips" {
|
|
type = "map"
|
|
|
|
default = {
|
|
eth0 = "192.168.1.111"
|
|
tun0 = "10.8.0.14"
|
|
static = "139.59.48.222"
|
|
}
|
|
}
|
|
|
|
variable "gf-security-admin-password" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "gitea-secret-key" {}
|
|
variable "gitea-internal-token" {}
|
|
variable "gitea-smtp-password" {}
|
|
variable "digitalocean-token" {}
|
|
variable "airsonic-smtp-password" {}
|
|
|
|
variable "traefik-common-labels" {
|
|
type = "map"
|
|
|
|
default = {
|
|
"traefik.enable" = "true"
|
|
|
|
// HSTS
|
|
"traefik.frontend.headers.SSLTemporaryRedirect" = "true"
|
|
"traefik.frontend.headers.STSSeconds" = "2592000"
|
|
"traefik.frontend.headers.STSIncludeSubdomains" = "false"
|
|
|
|
// X-Powered-By, Server headers
|
|
"traefik.frontend.headers.customResponseHeaders" = "X-Powered-By:Allomancy||X-Server:Blackbox"
|
|
|
|
// X-Frame-Options
|
|
"traefik.frontend.headers.customFrameOptionsValue" = "ALLOW-FROM https://home.bb8.fun/"
|
|
"traefik.frontend.headers.contentTypeNosniff" = "true"
|
|
"traefik.frontend.headers.browserXSSFilter" = "true"
|
|
}
|
|
}
|