upgrades+gonic

This commit is contained in:
Nemo 2019-12-31 21:53:39 +05:30
parent 1a234f5025
commit 86db1b2da9
3 changed files with 36 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# https://github.com/go-gitea/gitea/releases
data "docker_registry_image" "gitea" {
# not bleeding, this is hemorrhaging edge
name = "gitea/gitea:1.9"
name = "gitea/gitea:1.10"
}
data "docker_registry_image" "redis" {

34
media/gonic.tf Normal file
View File

@ -0,0 +1,34 @@
module "gonic" {
source = "../modules/container"
image = "sentriz/gonic"
name = "gonic"
resource {
memory = "256"
memory_swap = "256"
}
web {
port = 80
host = "gonic.bb8.fun"
expose = true
}
env = [
"GONIC_SCAN_INTERVAL=60"
]
networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}"
volumes = [
{
host_path = "/mnt/xwing/config/gonic"
container_path = "/data"
},
{
host_path = "/mnt/xwing/media/Music"
container_path = "/music"
read_only = true
}
]
}

View File

@ -1,7 +1,7 @@
module "miniflux-container" {
name = "miniflux"
source = "modules/container"
image = "miniflux/miniflux:2.0.17"
image = "miniflux/miniflux:2.0.19"
web {
expose = true