diff --git a/docker/gitea.tf b/docker/gitea.tf index 08bd28a..4635e4b 100644 --- a/docker/gitea.tf +++ b/docker/gitea.tf @@ -37,4 +37,4 @@ resource docker_container "gitea" { restart = "unless-stopped" destroy_grace_seconds = 10 must_run = true -} \ No newline at end of file +} diff --git a/docker/traefik.tf b/docker/traefik.tf index 97dd95e..3ac678a 100644 --- a/docker/traefik.tf +++ b/docker/traefik.tf @@ -11,9 +11,9 @@ resource "docker_container" "traefik" { # Admin Backend ports { - internal = 1111 - external = 1111 - ip = "${var.ips["tun0"]}" + internal = 1111 + external = 1111 + ip = "${var.ips["tun0"]}" } # Local Web Server diff --git a/variables.tf b/variables.tf index 42a81a1..257c268 100644 --- a/variables.tf +++ b/variables.tf @@ -21,9 +21,10 @@ variable "wiki_session_secret" { variable "ips" { type = "map" + default = { - eth0 = "192.168.1.111" - tun0 = "10.8.0.14" + eth0 = "192.168.1.111" + tun0 = "10.8.0.14" static = "139.59.48.222" } }