From e8951cdb464eaf5d10dfac4fc36e98deb5e37c4c Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 15 Aug 2022 23:06:10 +0000 Subject: [PATCH] disable redis persistence in dev --- TODO.md | 2 +- docker-compose.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index fda6e646..a12a7276 100644 --- a/TODO.md +++ b/TODO.md @@ -246,7 +246,7 @@ in another repo: event subscriber eth_1 | 2022-08-10T23:26:08.917603Z WARN web3_proxy::connections: chain is forked! 262 possible heads. 1/2/5/5 rpcs have 0x0538…bfff eth_1 | 2022-08-10T23:26:10.195014Z WARN web3_proxy::connections: chain is forked! 262 possible heads. 1/2/5/5 rpcs have 0x0538…bfff eth_1 | 2022-08-10T23:26:10.195658Z WARN web3_proxy::connections: chain is forked! 262 possible heads. 2/3/5/5 rpcs have 0x0538…bfff -- [ ] disable redis persistence in dev +- [x] disable redis persistence in dev - [ ] fix ip detection when running in dev - [ ] cache api keys that are not in the database? - [ ] double check weight sorting code diff --git a/docker-compose.yml b/docker-compose.yml index 758928e3..1cf22e07 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,8 @@ version: "3.4" services: dev-redis: - build: ./redis-cell-server/ + image: redis + command: [ "redis-server", "--save", "", "--appendonly", "no" ] ports: - 127.0.0.1:16379:6379 # TODO: expose these ports?