Adds ZNC
This commit is contained in:
parent
840ce49e98
commit
6646320d74
|
@ -82,3 +82,6 @@ variable "root-domain" {
|
|||
description = "root domain for most applications"
|
||||
default = "bb8.fun"
|
||||
}
|
||||
|
||||
variable "znc_pass" {}
|
||||
variable "znc_user" {}
|
||||
|
|
|
@ -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…
Reference in New Issue