Disable LFS server because 1.7 breaks:
https://github.com/go-gitea/gitea/issues/5704
Diff
gitea/data.tf | 2 +-
gitea/main.tf | 15 ++++++++++++++-
gitea/conf/conf.ini.tpl | 2 +-
3 files changed, 15 insertions(+), 4 deletions(-)
@@ -1,6 +1,6 @@
data "docker_registry_image" "gitea" {
name = "gitea/gitea:1.6.1"
name = "gitea/gitea:1.7"
}
data "docker_registry_image" "redis" {
@@ -38,8 +38,9 @@
file = "/data/gitea/public/img/gitea-sm.png"
}
upload {
content = "${file("${path.module}/conf/public/img/gitea-sm.png")}"
file = "/data/gitea/public/img/favicon.png"
content = "${file("${path.module}/conf/public/img/gitea-sm.png")}"
file = "/data/gitea/public/img/favicon.png"
executable = false
}
upload {
content = "${file("${path.module}/../docker/conf/humans.txt")}"
@@ -60,6 +61,16 @@
destroy_grace_seconds = 10
must_run = true
networks = ["${docker_network.gitea.id}", "${var.traefik-network-id}"]
}
resource "docker_image" "gitea" {
@@ -67,7 +67,7 @@
DISABLE_SSH = false
SSH_PORT = 22
DOMAIN = git.captnemo.in
LFS_START_SERVER = true
LFS_START_SERVER = false
LFS_CONTENT_PATH = /data/gitea/lfs
LFS_JWT_SECRET = ${lfs-jwt-secret}
OFFLINE_MODE = true