Fix redis cfg

This commit is contained in:
Thomas E Lackey 2023-08-29 14:49:51 -05:00
parent 250ccf9b0b
commit b0dffe3bbc
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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"