Skip to content

Commit

Permalink
Merge pull request #339 from ethpandaops/feat/zookeeper-autopurge
Browse files Browse the repository at this point in the history
feat(deploy): add auto purge to zookeeper
  • Loading branch information
Savid committed Jun 26, 2024
2 parents 8b7b4ea + 5389d6c commit 017327a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ services:
ZOO_MY_ID: 1
ZOO_4LW_COMMANDS_WHITELIST: "*"
ZOO_SERVERS: "server.1=xatu-clickhouse-zookeeper-01:2888:3888;2181 server.2=xatu-clickhouse-zookeeper-02:2888:3888;2181 server.3=xatu-clickhouse-zookeeper-03:2888:3888;2181"
ZOO_AUTOPURGE_PURGEINTERVAL: 1
ZOO_AUTOPURGE_SNAPRETAINCOUNT: 3
healthcheck:
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep -q 'imok'"]
interval: 30s
Expand All @@ -107,6 +109,8 @@ services:
ZOO_MY_ID: 2
ZOO_4LW_COMMANDS_WHITELIST: "*"
ZOO_SERVERS: "server.1=xatu-clickhouse-zookeeper-01:2888:3888;2181 server.2=xatu-clickhouse-zookeeper-02:2888:3888;2181 server.3=xatu-clickhouse-zookeeper-03:2888:3888;2181"
ZOO_AUTOPURGE_PURGEINTERVAL: 1
ZOO_AUTOPURGE_SNAPRETAINCOUNT: 3
healthcheck:
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep -q 'imok'"]
interval: 30s
Expand All @@ -129,6 +133,8 @@ services:
ZOO_MY_ID: 3
ZOO_4LW_COMMANDS_WHITELIST: "*"
ZOO_SERVERS: "server.1=xatu-clickhouse-zookeeper-01:2888:3888;2181 server.2=xatu-clickhouse-zookeeper-02:2888:3888;2181 server.3=xatu-clickhouse-zookeeper-03:2888:3888;2181"
ZOO_AUTOPURGE_PURGEINTERVAL: 1
ZOO_AUTOPURGE_SNAPRETAINCOUNT: 3
healthcheck:
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep -q 'imok'"]
interval: 30s
Expand Down

0 comments on commit 017327a

Please sign in to comment.