got gonic working
This commit is contained in:
parent
735279b0c1
commit
4922bd098f
|
@ -146,6 +146,7 @@ ENABLE_NOTIFY_MAIL = true
|
||||||
DISABLE_REGISTRATION = false
|
DISABLE_REGISTRATION = false
|
||||||
; ; Enable captcha validation for registration
|
; ; Enable captcha validation for registration
|
||||||
ENABLE_CAPTCHA = true
|
ENABLE_CAPTCHA = true
|
||||||
|
REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA = true
|
||||||
CAPTCHA_TYPE = image
|
CAPTCHA_TYPE = image
|
||||||
; ; User must sign in to view anything.
|
; ; User must sign in to view anything.
|
||||||
REQUIRE_SIGNIN_VIEW = false
|
REQUIRE_SIGNIN_VIEW = false
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# 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
|
name = "gitea/gitea:1.12"
|
||||||
name = "gitea/gitea:1.11"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data "docker_registry_image" "redis" {
|
data "docker_registry_image" "redis" {
|
||||||
|
|
|
@ -1,36 +1,36 @@
|
||||||
# module "gonic" {
|
module "gonic" {
|
||||||
# source = "../modules/container"
|
source = "../modules/container"
|
||||||
# image = "sentriz/gonic"
|
image = "sentriz/gonic"
|
||||||
# name = "gonic"
|
name = "gonic"
|
||||||
|
|
||||||
# resource {
|
resource {
|
||||||
# memory = "256"
|
memory = "512"
|
||||||
# memory_swap = "256"
|
memory_swap = "512"
|
||||||
# }
|
}
|
||||||
|
|
||||||
# web {
|
web {
|
||||||
# port = 80
|
port = 80
|
||||||
# host = "gonic.bb8.fun"
|
host = "gonic.bb8.fun"
|
||||||
# expose = true
|
expose = true
|
||||||
# }
|
}
|
||||||
|
|
||||||
# env = [
|
env = [
|
||||||
# "GONIC_SCAN_INTERVAL=60",
|
"GONIC_SCAN_INTERVAL=60",
|
||||||
# "GONIC_MUSIC_PATH=/music",
|
"GONIC_MUSIC_PATH=/music",
|
||||||
# "GONIC_DB_PATH=/data/gonic.db"
|
"GONIC_DB_PATH=/data/gonic.db"
|
||||||
# ]
|
]
|
||||||
|
|
||||||
# networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}"
|
networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}"
|
||||||
|
|
||||||
# volumes = [
|
volumes = [
|
||||||
# {
|
{
|
||||||
# host_path = "/mnt/xwing/config/gonic"
|
host_path = "/mnt/xwing/config/gonic"
|
||||||
# container_path = "/data"
|
container_path = "/data"
|
||||||
# },
|
},
|
||||||
# {
|
{
|
||||||
# host_path = "/mnt/xwing/media/Music"
|
host_path = "/mnt/xwing/media/Music"
|
||||||
# container_path = "/music"
|
container_path = "/music"
|
||||||
# read_only = true
|
read_only = true
|
||||||
# }
|
}
|
||||||
# ]
|
]
|
||||||
# }
|
}
|
||||||
|
|
Loading…
Reference in New Issue