diff --git a/roles/gitea/templates/app.ini b/roles/gitea/templates/app.ini index e4285ba..00ea5f9 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -9,7 +9,7 @@ APP_NAME = git.9iron.com ; Change it if you run locally RUN_USER = git ; Either "dev", "prod" or "test", default is "dev" -RUN_MODE = proid +RUN_MODE = prod [repository] ROOT = @@ -652,9 +652,9 @@ SENDMAIL_ARGS = [cache] ; if the cache enabled -ENABLED = false +ENABLED = true ; Either "memory", "redis", or "memcache", default is "memory" -ADAPTER = redis +ADAPTER = memory ; For "memory" only, GC interval in seconds, default is 60 INTERVAL = 60 ; For "redis" and "memcache", connection host address @@ -668,7 +668,7 @@ ITEM_TTL = 16h ; Last commit cache [cache.last_commit] ; if the cache enabled -ENABLED = false +ENABLED = true ; Time to keep items in cache if not used, default is 8760 hours. ; Setting it to 0 disables caching ITEM_TTL = 8760h