🏡 index : github.com/captn3m0/nebula.git

author Nemo <me@captnemo.in> 2018-08-23 12:02:32.0 +05:30:00
committer Nemo <me@captnemo.in> 2018-08-23 12:02:32.0 +05:30:00
commit
6646320d745c115e85b123135b52ce24537f9e58 [patch]
tree
fa4a5b001b93888369bf1b20d02358817f55566a
parent
840ce49e981580d139e3de602b24c00fa9010be7
download
6646320d745c115e85b123135b52ce24537f9e58.tar.gz

Adds ZNC



Diff

 variables.tf |  3 +++
 znc.tf       | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/variables.tf b/variables.tf
index 93fde51..f42f0fe 100644
--- a/variables.tf
+++ a/variables.tf
@@ -82,3 +82,6 @@
  description = "root domain for most applications"
  default     = "bb8.fun"
}

variable "znc_pass" {}
variable "znc_user" {}
diff --git a/znc.tf b/znc.tf
new file mode 100644
index 0000000..6375d01 100644
--- /dev/null
+++ a/znc.tf
@@ -1,0 +1,21 @@
module "znc" {

  source = "modules/container"
  image  = "znc:latest"
  name   = "znc"

  web {

    expose = "false"
    host   = ""
  }

  volumes = [{

    container_path = "/znc-data"
    host_path      = "/mnt/xwing/config/znc"
  }]

  ports = [{

    internal = 6697
    external = 6697
    ip       = "${var.ips["tun0"]}"
  }]
}