Browse Source

Adds ZNC

1.0.0
Nemo 3 years ago
parent
commit
6646320d74
  1. 3
      variables.tf
  2. 21
      znc.tf

3
variables.tf

@ -82,3 +82,6 @@ variable "root-domain" {
description = "root domain for most applications"
default = "bb8.fun"
}
variable "znc_pass" {}
variable "znc_user" {}

21
znc.tf

@ -0,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"]}"
}]
}
Loading…
Cancel
Save