22 lines
333 B
HCL
22 lines
333 B
HCL
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"]}"
|
|
}]
|
|
}
|