feat(gitea): update Gitea version to 1.23.7 and enhance liveness probe with TLS support
This commit is contained in:
@@ -98,8 +98,9 @@ resource "kubernetes_deployment" "gitea" {
|
||||
|
||||
liveness_probe {
|
||||
http_get {
|
||||
path = "/api/healthz"
|
||||
port = "http"
|
||||
path = "/api/healthz"
|
||||
port = "http"
|
||||
scheme = var.tls_enabled ? "HTTPS" : "HTTP"
|
||||
}
|
||||
initial_delay_seconds = 200
|
||||
period_seconds = 300
|
||||
|
||||
@@ -28,11 +28,13 @@ DISABLE_SSH = ${DISABLE_SSH}
|
||||
SSH_PORT = ${SSH_PORT}
|
||||
SSH_LISTEN_PORT = ${SSH_PORT}
|
||||
LFS_START_SERVER = true
|
||||
LFS_CONTENT_PATH = /data/git/lfs
|
||||
LFS_JWT_SECRET = ${LFS_JWT_SECRET}
|
||||
DOMAIN = ${DOMAIN}
|
||||
OFFLINE_MODE = false
|
||||
|
||||
[lfs]
|
||||
PATH = /data/git/lfs
|
||||
|
||||
[database]
|
||||
PATH = /data/gitea/gitea.db
|
||||
DB_TYPE = mysql
|
||||
|
||||
Reference in New Issue
Block a user