Browse Source

Upgrade miniflux and fix rss-bridge

files-airsonic
Nemo 2 years ago
parent
commit
96545fe564
3 changed files with 10 additions and 7 deletions
  1. +3
    -0
      data.tf
  2. +6
    -2
      miniflux.tf
  3. +1
    -5
      rss-bridge.tf

+ 3
- 0
data.tf View File

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

+ 6
- 2
miniflux.tf View File

@ -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",


+ 1
- 5
rss-bridge.tf View File

@ -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