Browse Source

Adds ZNC

1.0.0
Nemo 2 years ago
parent
commit
6646320d74
2 changed files with 24 additions and 0 deletions
  1. +3
    -0
      variables.tf
  2. +21
    -0
      znc.tf

+ 3
- 0
variables.tf 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
- 0
znc.tf 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"]}"
}]
}

Loading…
Cancel
Save