Fix redis cfg
This commit is contained in:
parent
250ccf9b0b
commit
b0dffe3bbc
@ -4,8 +4,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
hostname: mainnet-eth-api-proxy-redis
|
hostname: mainnet-eth-api-proxy-redis
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
env_file:
|
command: redis-server --save "" --appendonly no --maxmemory-policy allkeys-lru --maxmemory 1G
|
||||||
- ../config/mainnet-eth-api-proxy/ethpxy.env
|
|
||||||
|
|
||||||
eth-api-proxy:
|
eth-api-proxy:
|
||||||
hostname: mainnet-eth-api-proxy
|
hostname: mainnet-eth-api-proxy
|
||||||
|
|||||||
@ -4,5 +4,3 @@ CERC_ETHPXY_REDIS_URL='redis://mainnet-eth-api-proxy-redis:6379'
|
|||||||
CERC_ETHPXY_REDIS_MAX_AGE=120000
|
CERC_ETHPXY_REDIS_MAX_AGE=120000
|
||||||
CERC_ETHPXY_GETH_WS_URL='ws://mainnet-eth-geth-1:8546'
|
CERC_ETHPXY_GETH_WS_URL='ws://mainnet-eth-geth-1:8546'
|
||||||
CERC_ETHPXY_GETH_HTTP_URL='http://mainnet-eth-geth-1:8545'
|
CERC_ETHPXY_GETH_HTTP_URL='http://mainnet-eth-geth-1:8545'
|
||||||
|
|
||||||
REDIS_ARGS="--maxmemory-policy allkeys-lru --maxmemory 1G"
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user