terraform fmt

This commit is contained in:
Nemo 2017-12-26 19:25:43 +05:30
parent fd5990d2be
commit 19c15aae00
10 changed files with 221 additions and 222 deletions

View File

@ -229,7 +229,6 @@ resource "docker_container" "airsonic" {
}
}
resource "docker_container" "headerdebug" {
name = "headerdebug"
image = "${docker_image.headerdebug.latest}"
@ -405,7 +404,7 @@ resource "docker_container" "ubooquity" {
env = [
"PUID=1004",
"PGID=1003",
"MAXMEM=800"
"MAXMEM=800",
]
}
@ -453,7 +452,7 @@ resource "docker_container" "wiki" {
env = [
"WIKI_ADMIN_EMAIL=me@captnemo.in",
"SESSION_SECRET=${var.wiki_session_secret}"
"SESSION_SECRET=${var.wiki_session_secret}",
]
}
@ -466,7 +465,6 @@ resource "docker_container" "muximux" {
destroy_grace_seconds = 10
must_run = true
volumes {
host_path = "/mnt/xwing/config/muximux"
container_path = "/config"
@ -504,7 +502,6 @@ resource "docker_container" "cadvisor" {
destroy_grace_seconds = 10
must_run = true
volumes {
host_path = "/"
container_path = "/rootfs"

View File

@ -76,6 +76,6 @@ resource "docker_container" "traefik" {
env = [
"CLOUDFLARE_EMAIL=${var.cloudflare_email}",
"CLOUDFLARE_API_KEY=${var.cloudflare_key}"
"CLOUDFLARE_API_KEY=${var.cloudflare_key}",
]
}

View File

@ -45,3 +45,8 @@ variable "refpolicy" {
variable "wiki_session_secret" {
type = "string"
}
variable "ips" {
eth0 = "192.168.1.111"
tun0 = "10.8.0.14"
}

View File

@ -9,4 +9,3 @@ resource "docker_volume" "gitea_volume" {
resource "docker_volume" "mongorocks_data_volume" {
name = "mongorocks_data_volume"
}

View File

@ -4,7 +4,6 @@
# username = "root"
# password = "${var.mysql_root_password}"
# }
# # Create a Database
# resource "mysql_database" "kodi" {
# name = "kodi"
@ -12,7 +11,6 @@
# prevent_destroy = true
# }
# }
# resource "mysql_user" "kodi" {
# user = "kodi"
# host = "127.0.0.1"