upgrades+gonic
This commit is contained in:
parent
1a234f5025
commit
86db1b2da9
|
@ -1,7 +1,7 @@
|
||||||
# https://github.com/go-gitea/gitea/releases
|
# https://github.com/go-gitea/gitea/releases
|
||||||
data "docker_registry_image" "gitea" {
|
data "docker_registry_image" "gitea" {
|
||||||
# not bleeding, this is hemorrhaging edge
|
# not bleeding, this is hemorrhaging edge
|
||||||
name = "gitea/gitea:1.9"
|
name = "gitea/gitea:1.10"
|
||||||
}
|
}
|
||||||
|
|
||||||
data "docker_registry_image" "redis" {
|
data "docker_registry_image" "redis" {
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
module "miniflux-container" {
|
module "miniflux-container" {
|
||||||
name = "miniflux"
|
name = "miniflux"
|
||||||
source = "modules/container"
|
source = "modules/container"
|
||||||
image = "miniflux/miniflux:2.0.17"
|
image = "miniflux/miniflux:2.0.19"
|
||||||
|
|
||||||
web {
|
web {
|
||||||
expose = true
|
expose = true
|
||||||
|
|
Loading…
Reference in New Issue