2017-11-04 13:39:32 +00:00
|
|
|
variable "cloudflare_key" {
|
2017-12-26 13:55:43 +00:00
|
|
|
type = "string"
|
2017-11-04 13:39:32 +00:00
|
|
|
description = "cloudflare API Key"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "web_username" {
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "web_password" {
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "mysql_root_password" {
|
|
|
|
type = "string"
|
2017-12-03 14:52:14 +00:00
|
|
|
}
|
|
|
|
|
2017-12-28 16:42:21 +00:00
|
|
|
variable "mysql_lychee_password" {}
|
|
|
|
|
2018-01-23 06:41:43 +00:00
|
|
|
variable "mysql_airsonic_password" {}
|
|
|
|
|
2017-12-28 16:42:21 +00:00
|
|
|
variable "mysql_kodi_password" {}
|
|
|
|
|
2018-01-29 20:09:36 +00:00
|
|
|
variable "mysql-ttrss-password" {}
|
|
|
|
|
2017-12-03 14:52:14 +00:00
|
|
|
variable "wiki_session_secret" {
|
|
|
|
type = "string"
|
|
|
|
}
|
2017-12-26 15:20:52 +00:00
|
|
|
|
|
|
|
variable "ips" {
|
|
|
|
type = "map"
|
2017-12-28 15:21:09 +00:00
|
|
|
|
2017-12-26 15:20:52 +00:00
|
|
|
default = {
|
2017-12-28 15:21:09 +00:00
|
|
|
eth0 = "192.168.1.111"
|
|
|
|
tun0 = "10.8.0.14"
|
2017-12-26 15:38:38 +00:00
|
|
|
static = "139.59.48.222"
|
2017-12-26 15:20:52 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-28 12:29:54 +00:00
|
|
|
|
|
|
|
variable "gf-security-admin-password" {
|
|
|
|
type = "string"
|
|
|
|
}
|
2018-01-25 21:20:13 +00:00
|
|
|
|
|
|
|
variable "gitea-secret-key" {}
|
|
|
|
variable "gitea-internal-token" {}
|
2018-02-03 07:36:06 +00:00
|
|
|
variable "gitea-smtp-password" {}
|
2018-02-03 07:36:19 +00:00
|
|
|
variable "digitalocean-token" {}
|
2018-02-17 23:34:09 +00:00
|
|
|
variable "airsonic-smtp-password" {}
|
2018-02-06 14:32:25 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|