Disable LFS server because 1.7 breaks:
https://github.com/go-gitea/gitea/issues/5704
This commit is contained in:
parent
87ce9743b3
commit
18164d175e
|
@ -67,7 +67,7 @@ ROOT_URL = https://git.captnemo.in/
|
||||||
DISABLE_SSH = false
|
DISABLE_SSH = false
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
DOMAIN = git.captnemo.in
|
DOMAIN = git.captnemo.in
|
||||||
LFS_START_SERVER = true
|
LFS_START_SERVER = false
|
||||||
LFS_CONTENT_PATH = /data/gitea/lfs
|
LFS_CONTENT_PATH = /data/gitea/lfs
|
||||||
LFS_JWT_SECRET = ${lfs-jwt-secret}
|
LFS_JWT_SECRET = ${lfs-jwt-secret}
|
||||||
OFFLINE_MODE = true
|
OFFLINE_MODE = true
|
||||||
|
|
|
@ -1,6 +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" {
|
||||||
name = "gitea/gitea:1.6.1"
|
name = "gitea/gitea:1.7"
|
||||||
}
|
}
|
||||||
|
|
||||||
data "docker_registry_image" "redis" {
|
data "docker_registry_image" "redis" {
|
||||||
|
|
|
@ -38,8 +38,9 @@ resource "docker_container" "gitea" {
|
||||||
file = "/data/gitea/public/img/gitea-sm.png"
|
file = "/data/gitea/public/img/gitea-sm.png"
|
||||||
}
|
}
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/conf/public/img/gitea-sm.png")}"
|
content = "${file("${path.module}/conf/public/img/gitea-sm.png")}"
|
||||||
file = "/data/gitea/public/img/favicon.png"
|
file = "/data/gitea/public/img/favicon.png"
|
||||||
|
executable = false
|
||||||
}
|
}
|
||||||
upload {
|
upload {
|
||||||
content = "${file("${path.module}/../docker/conf/humans.txt")}"
|
content = "${file("${path.module}/../docker/conf/humans.txt")}"
|
||||||
|
@ -60,6 +61,16 @@ resource "docker_container" "gitea" {
|
||||||
destroy_grace_seconds = 10
|
destroy_grace_seconds = 10
|
||||||
must_run = true
|
must_run = true
|
||||||
networks = ["${docker_network.gitea.id}", "${var.traefik-network-id}"]
|
networks = ["${docker_network.gitea.id}", "${var.traefik-network-id}"]
|
||||||
|
|
||||||
|
# This doesn't work.
|
||||||
|
# See https://github.com/terraform-providers/terraform-provider-docker/issues/48
|
||||||
|
# lifecycle {
|
||||||
|
# ignore_changes = [
|
||||||
|
# "upload.2151376053.content",
|
||||||
|
# "upload.2151376053.executable",
|
||||||
|
# "upload.2151376053.file",
|
||||||
|
# ]
|
||||||
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "docker_image" "gitea" {
|
resource "docker_image" "gitea" {
|
||||||
|
|
Loading…
Reference in New Issue