Fixed redis conf
This commit is contained in:
parent
1dd1485b4e
commit
0e620b12f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user