This commit is contained in:
Nemo 2018-08-23 12:02:32 +05:30
parent 840ce49e98
commit 6646320d74
2 changed files with 24 additions and 0 deletions

View File

@ -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 Normal file
View File

@ -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"]}"
}]
}