Configure Gitea and open up Redis

This commit is contained in:
Salt 2020-04-30 06:32:19 -05:00
parent 0e9b43438b
commit 70503185cd
2 changed files with 2 additions and 2 deletions

View File

@ -660,7 +660,7 @@ INTERVAL = 60
; For "redis" and "memcache", connection host address ; For "redis" and "memcache", connection host address
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
; memcache: `127.0.0.1:11211` ; memcache: `127.0.0.1:11211`
HOST = HOST = network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
; Time to keep items in cache if not used, default is 16 hours. ; Time to keep items in cache if not used, default is 16 hours.
; Setting it to 0 disables caching ; Setting it to 0 disables caching
ITEM_TTL = 16h ITEM_TTL = 16h

View File

@ -89,7 +89,7 @@ protected-mode yes
# Accept connections on the specified port, default is 6379 (IANA #815344). # Accept connections on the specified port, default is 6379 (IANA #815344).
# If port 0 is specified Redis will not listen on a TCP socket. # If port 0 is specified Redis will not listen on a TCP socket.
port 0 port 6379
# TCP listen() backlog. # TCP listen() backlog.
# #