Browse Source

Upgrade miniflux and fix rss-bridge

files-airsonic
Nemo 2 years ago
parent
commit
96545fe564
  1. 3
      data.tf
  2. 8
      miniflux.tf
  3. 6
      rss-bridge.tf

3
data.tf

@ -0,0 +1,3 @@
data "docker_network" "bridge" {
name = "bridge"
}

8
miniflux.tf

@ -1,7 +1,7 @@
module "miniflux-container" {
name = "miniflux"
source = "modules/container"
image = "miniflux/miniflux:2.0.10"
image = "miniflux/miniflux:2.0.14"
web {
expose = true
@ -9,7 +9,11 @@ module "miniflux-container" {
host = "rss.captnemo.in"
}
networks = "${list(module.docker.traefik-network-id,module.db.postgres-network-id)}"
networks = "${list(
data.docker_network.bridge.id,
module.docker.traefik-network-id,
module.db.postgres-network-id
)}"
env = [
"DATABASE_URL=postgres://miniflux:${var.miniflux-db-password}@postgres/miniflux?sslmode=disable",

6
rss-bridge.tf

@ -5,7 +5,7 @@ module "rss-bridge" {
image = "captn3m0/rss-bridge:sec-filings"
web {
expose = true
expose = "true"
host = "rss-bridge.${var.root-domain}"
}
@ -16,7 +16,3 @@ module "rss-bridge" {
host_path = "/mnt/xwing/config/rss-bridge/whitelist.txt"
}]
}
data "docker_network" "bridge" {
name = "bridge"
}
Loading…
Cancel
Save