diff --git a/gitea/conf/conf.ini.tpl b/gitea/conf/conf.ini.tpl index fa21d27..5cc7f0a 100644 --- a/gitea/conf/conf.ini.tpl +++ b/gitea/conf/conf.ini.tpl @@ -214,7 +214,7 @@ RUN_AT_START = false [cron.archive_cleanup] RUN_AT_START = true -SCHEDULE = @every 24h +SCHEDULE = @midnight ; Archives created more than OLDER_THAN ago are subject to deletion OLDER_THAN = 24h @@ -225,7 +225,7 @@ SCHEDULE = @every 3h ; Repository health check [cron.repo_health_check] -SCHEDULE = @every 24h +SCHEDULE = @midnight TIMEOUT = 60s ; Arguments for command 'git fsck', e.g. "--unreachable --tags" ; see more on http://git-scm.com/docs/git-fsck @@ -234,7 +234,7 @@ ARGS = ; Check repository statistics [cron.check_repo_stats] RUN_AT_START = true -SCHEDULE = @every 24h +SCHEDULE = @midnight [api] ; Max number of items will response in a page @@ -259,3 +259,6 @@ ENABLED = true ENABLE = false ; this is same as JWT secret above JWT_SECRET = "${oauth2-jwt-secret}" + +[federation] +ENABLED=false diff --git a/gitea/data.tf b/gitea/data.tf index 61be64b..562091a 100644 --- a/gitea/data.tf +++ b/gitea/data.tf @@ -1,6 +1,6 @@ # https://github.com/go-gitea/gitea/releases data "docker_registry_image" "gitea" { - name = "gitea/gitea:1.15" + name = "gitea/gitea:1.16" } data "docker_registry_image" "redis" { @@ -19,4 +19,3 @@ data "template_file" "gitea-config-file" { oauth2-jwt-secret = var.oauth2-jwt-secret } } -