Fixed redis conf

This commit is contained in:
Tornado Contrib 2024-06-22 03:49:05 +00:00
parent 1dd1485b4e
commit 0e620b12f1
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
2 changed files with 4 additions and 7 deletions

@ -4,19 +4,16 @@ services:
image: redis:6.2-alpine
restart: always
#networks:
# - tornado
expose:
- 6379
# - tornado_net
command: ["redis-server"]
volumes:
- ./redis:/data
proxyd:
container_name: proxyd
image: proxyd
restart: always
#networks:
# - tornado
# - tornado_net
environment:
- REDIS_URL=redis://redis:6379
- RPC_URL=
- WS_URL=
ports:

@ -94,7 +94,7 @@ enabled = true
ttl = "14s"
[redis]
url = "redis://redis:6379"
url = "$REDIS_URL"
[metrics]
enabled = true