2018-08-23 06:32:32 +00:00
|
|
|
module "znc" {
|
2021-10-15 12:54:13 +00:00
|
|
|
source = "./modules/container"
|
2018-08-23 06:32:32 +00:00
|
|
|
image = "znc:latest"
|
|
|
|
name = "znc"
|
|
|
|
|
2021-10-15 12:54:13 +00:00
|
|
|
volumes = [
|
|
|
|
{
|
|
|
|
container_path = "/znc-data"
|
|
|
|
host_path = "/mnt/xwing/config/znc"
|
|
|
|
},
|
|
|
|
]
|
2018-08-23 06:32:32 +00:00
|
|
|
|
2021-10-15 12:54:13 +00:00
|
|
|
ports = [
|
|
|
|
{
|
|
|
|
internal = "6697"
|
|
|
|
external = "6697"
|
|
|
|
ip = var.ips["tun0"]
|
|
|
|
},
|
|
|
|
]
|
2018-08-23 06:32:32 +00:00
|
|
|
}
|
2021-10-15 12:54:13 +00:00
|
|
|
|