From 87ce9743b3ad16dcba7bc051103e2e0849f53d1b Mon Sep 17 00:00:00 2001
From: Nemo <me@captnemo.in>
Date: Fri, 14 Dec 2018 17:13:36 +0530
Subject: [PATCH] Update gitea

---
 gitea/data.tf           |  2 +-
 gitea/conf/conf.ini.tpl | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/gitea/data.tf b/gitea/data.tf
index 26326de..9010227 100644
--- a/gitea/data.tf
+++ a/gitea/data.tf
@@ -1,6 +1,6 @@
 # https://github.com/go-gitea/gitea/releases
 data "docker_registry_image" "gitea" {
-  name = "gitea/gitea:1.5.2"
+  name = "gitea/gitea:1.6.1"
 }
 
 data "docker_registry_image" "redis" {
diff --git a/gitea/conf/conf.ini.tpl b/gitea/conf/conf.ini.tpl
index 81bb090..56ba9ac 100644
--- a/gitea/conf/conf.ini.tpl
+++ a/gitea/conf/conf.ini.tpl
@@ -96,6 +96,8 @@
 SQLITE_TIMEOUT = 500
 ; ; For iterate buffer, default is 50
 ; ITERATE_BUFFER_SIZE = 50
+; Show the database generated SQL
+LOG_SQL = false
 
 [session]
 PROVIDER_CONFIG = /data/gitea/sessions
@@ -199,7 +201,15 @@
 ; ; Max number of files per upload. Defaults to 10
 ; MAX_FILES = 5
 
-LEVEL = Info
+[log]
+ROOT_PATH =
+; Either "console", "file", "conn", "smtp" or "database", default is "console"
+; Use comma to separate multiple modes, e.g. "console, file"
+MODE = console
+; Buffer length of the channel, keep it as it is if you don't know what it is.
+BUFFER_LEN = 10000
+; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace"
+LEVEL = Critical
 
 [cron]
 ; Enable running cron tasks periodically.
@@ -225,3 +235,10 @@
 [openid]
 ENABLE_OPENID_SIGNIN = true
 ENABLE_OPENID_SIGNUP = true
+
+[metrics]
+; Enables metrics endpoint. True or false; default is false.
+ENABLED = false
+; If you want to add authorization, specify a token here
+; TODO
+TOKEN =
--
rgit 0.1.5