Revert "Add a redis cache to gitea"

This reverts commit c0c396f008.

Causes weird stability issues as the process received sig 15 and
restarts, which is strange!
This commit is contained in:
Jake Howard 2020-05-21 12:03:45 +01:00
parent 6d51b570a1
commit 1c8d80e12d
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 19 deletions

View file

@ -43,8 +43,7 @@ CHARSET = utf8
LOG_SQL = false
[indexer]
ISSUE_INDEXER_QUEUE_TYPE = redis
ISSUE_INDEXER_QUEUE_CONN_STR = addr=redis:6379
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
@ -95,14 +94,5 @@ ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[cache]
ADAPTER = redis
HOST = addr=redis:6379
ITEM_TTL = 168h
[queue]
TYPE = redis
CONN_STR = addr=redis:6379
[queue.task]
TYPE = redis
CONN_STR = addr=redis:6379
ADAPTER = memory
INTERVAL = 60

View file

@ -21,12 +21,6 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
redis:
image: redis:5-alpine
restart: unless-stopped
volumes:
- ./redis:/data
db:
image: postgres:12-alpine
restart: unless-stopped