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:
parent
6d51b570a1
commit
1c8d80e12d
2 changed files with 3 additions and 19 deletions
|
@ -43,8 +43,7 @@ CHARSET = utf8
|
||||||
LOG_SQL = false
|
LOG_SQL = false
|
||||||
|
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_QUEUE_TYPE = redis
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
||||||
ISSUE_INDEXER_QUEUE_CONN_STR = addr=redis:6379
|
|
||||||
|
|
||||||
[session]
|
[session]
|
||||||
PROVIDER_CONFIG = /data/gitea/sessions
|
PROVIDER_CONFIG = /data/gitea/sessions
|
||||||
|
@ -95,14 +94,5 @@ ENABLE_OPENID_SIGNIN = false
|
||||||
ENABLE_OPENID_SIGNUP = false
|
ENABLE_OPENID_SIGNUP = false
|
||||||
|
|
||||||
[cache]
|
[cache]
|
||||||
ADAPTER = redis
|
ADAPTER = memory
|
||||||
HOST = addr=redis:6379
|
INTERVAL = 60
|
||||||
ITEM_TTL = 168h
|
|
||||||
|
|
||||||
[queue]
|
|
||||||
TYPE = redis
|
|
||||||
CONN_STR = addr=redis:6379
|
|
||||||
|
|
||||||
[queue.task]
|
|
||||||
TYPE = redis
|
|
||||||
CONN_STR = addr=redis:6379
|
|
||||||
|
|
|
@ -21,12 +21,6 @@ services:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
redis:
|
|
||||||
image: redis:5-alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- ./redis:/data
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue