fix rss-bridge

This commit is contained in:
Nemo 2019-03-26 12:48:43 +05:30
parent ace703fc1f
commit ff3b56231b
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,5 @@
provider "docker" { provider "docker" {
host = "tcp://docker.in.bb8.fun:2376" host = "tcp://docker.vpn.bb8.fun:2376"
cert_path = "./secrets/tatooine" cert_path = "./secrets/tatooine"
version = "~> 2.0.0" version = "~> 2.0.0"
} }

View File

@ -2,14 +2,21 @@ module "rss-bridge" {
name = "rss-bridge" name = "rss-bridge"
source = "modules/container" source = "modules/container"
image = "rss-bridge/rss-bridge:latest" image = "rssbridge/rss-bridge:latest"
web { web {
expose = "true" expose = "true"
host = "rss-bridge.${var.root-domain}" host = "rss-bridge.${var.root-domain}"
} }
networks = ["${data.docker_network.bridge.id}"] networks_advanced = [
{
name = "bridge"
},
{
name = "traefik"
},
]
volumes = [{ volumes = [{
container_path = "/app/public/whitelist.txt" container_path = "/app/public/whitelist.txt"