terraform fmt

- TODO: Add it to a hook!
This commit is contained in:
Nemo 2017-12-28 20:51:09 +05:30
parent db941c2bab
commit ddf2d9eb13
3 changed files with 7 additions and 6 deletions

View File

@ -37,4 +37,4 @@ resource docker_container "gitea" {
restart = "unless-stopped" restart = "unless-stopped"
destroy_grace_seconds = 10 destroy_grace_seconds = 10
must_run = true must_run = true
} }

View File

@ -11,9 +11,9 @@ resource "docker_container" "traefik" {
# Admin Backend # Admin Backend
ports { ports {
internal = 1111 internal = 1111
external = 1111 external = 1111
ip = "${var.ips["tun0"]}" ip = "${var.ips["tun0"]}"
} }
# Local Web Server # Local Web Server

View File

@ -21,9 +21,10 @@ variable "wiki_session_secret" {
variable "ips" { variable "ips" {
type = "map" type = "map"
default = { default = {
eth0 = "192.168.1.111" eth0 = "192.168.1.111"
tun0 = "10.8.0.14" tun0 = "10.8.0.14"
static = "139.59.48.222" static = "139.59.48.222"
} }
} }