2018-08-21 03:16:25 +00:00
|
|
|
module "rss-bridge" {
|
|
|
|
name = "rss-bridge"
|
|
|
|
source = "modules/container"
|
2019-01-17 19:21:36 +00:00
|
|
|
|
2020-07-29 17:19:35 +00:00
|
|
|
image = "captn3m0/rss-bridge:develop"
|
2018-08-21 03:16:25 +00:00
|
|
|
|
2019-05-22 13:22:27 +00:00
|
|
|
resource {
|
|
|
|
memory = 256
|
|
|
|
memory_swap = 256
|
|
|
|
}
|
|
|
|
|
2018-08-21 03:16:25 +00:00
|
|
|
web {
|
2019-01-21 16:11:08 +00:00
|
|
|
expose = "true"
|
2018-08-21 03:16:25 +00:00
|
|
|
host = "rss-bridge.${var.root-domain}"
|
|
|
|
}
|
|
|
|
|
2019-03-26 07:18:43 +00:00
|
|
|
networks_advanced = [
|
|
|
|
{
|
2019-03-31 11:39:43 +00:00
|
|
|
name = "external"
|
2019-03-26 07:18:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "traefik"
|
|
|
|
},
|
|
|
|
]
|
2018-08-21 03:16:25 +00:00
|
|
|
|
2019-01-17 19:21:36 +00:00
|
|
|
volumes = [{
|
2019-05-28 11:38:50 +00:00
|
|
|
container_path = "/app/whitelist.txt"
|
2019-01-17 19:21:36 +00:00
|
|
|
host_path = "/mnt/xwing/config/rss-bridge/whitelist.txt"
|
|
|
|
}]
|
|
|
|
}
|