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 image: redis:6.2-alpine
restart: always restart: always
#networks: #networks:
# - tornado # - tornado_net
expose:
- 6379
command: ["redis-server"] command: ["redis-server"]
volumes:
- ./redis:/data
proxyd: proxyd:
container_name: proxyd container_name: proxyd
image: proxyd image: proxyd
restart: always restart: always
#networks: #networks:
# - tornado # - tornado_net
environment: environment:
- REDIS_URL=redis://redis:6379
- RPC_URL= - RPC_URL=
- WS_URL= - WS_URL=
ports: ports:

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