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"
|
|
|
|
}
|
|
|
|
|
2018-06-27 04:42:28 +00:00
|
|
|
variable "postgres-root-password" {
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
2018-04-07 12:09:23 +00:00
|
|
|
variable "gitea-mysql-password" {}
|
2018-01-29 20:09:36 +00:00
|
|
|
|
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-04-07 08:05:20 +00:00
|
|
|
variable "gitea-lfs-jwt-secret" {}
|
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
|
2018-04-07 08:05:20 +00:00
|
|
|
"traefik.frontend.headers.customFrameOptionsValue" = "ALLOW-FROM https://bb8.fun/"
|
2018-02-06 14:32:25 +00:00
|
|
|
"traefik.frontend.headers.contentTypeNosniff" = "true"
|
|
|
|
"traefik.frontend.headers.browserXSSFilter" = "true"
|
2018-06-20 15:31:03 +00:00
|
|
|
|
|
|
|
// Use the Traefik network
|
|
|
|
"traefik.docker.network" = "traefik"
|
2018-02-06 14:32:25 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-30 18:18:26 +00:00
|
|
|
|
|
|
|
variable "timemachine-password-2" {}
|
|
|
|
variable "timemachine-password-1" {}
|
2018-05-31 20:55:49 +00:00
|
|
|
|
|
|
|
variable "opml-github-client-id" {}
|
|
|
|
variable "opml-github-client-secret" {}
|
2018-06-30 22:47:22 +00:00
|
|
|
variable "miniflux-db-password" {}
|
2018-05-22 11:33:53 +00:00
|
|
|
|
|
|
|
variable "monica-db-password" {}
|
|
|
|
variable "monica-app-key" {}
|
|
|
|
variable "monica-hash-salt" {}
|
|
|
|
variable "monica-smtp-password" {}
|
2018-07-28 14:33:43 +00:00
|
|
|
|
|
|
|
variable "root-domain" {
|
|
|
|
description = "root domain for most applications"
|
|
|
|
default = "bb8.fun"
|
|
|
|
}
|