diff --git a/roles/gitea/templates/app.ini b/roles/gitea/templates/app.ini index 8a1e017..74b392b 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -660,7 +660,7 @@ INTERVAL = 60 ; For "redis" and "memcache", connection host address ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 ; 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. ; Setting it to 0 disables caching ITEM_TTL = 16h diff --git a/roles/redis/templates/redis.conf b/roles/redis/templates/redis.conf index 8f661ab..c728da0 100644 --- a/roles/redis/templates/redis.conf +++ b/roles/redis/templates/redis.conf @@ -89,7 +89,7 @@ protected-mode yes # Accept connections on the specified port, default is 6379 (IANA #815344). # If port 0 is specified Redis will not listen on a TCP socket. -port 0 +port 6379 # TCP listen() backlog. #