Skip to content

Commit

Permalink
misc: add cluster setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Jan 6, 2025
1 parent 5599b32 commit c1b41f1
Show file tree
Hide file tree
Showing 9 changed files with 6,031 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ coverage/
dist/
tmp/
config/local*
data/redis
data/DOMAIN_BLACKLIST.json
data/IP_BLACKLIST.json
data/AWS_IP_RANGES.json
Expand Down
5 changes: 1 addition & 4 deletions redis/setup.md → config/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

## Config

1. Download redis.conf to /etc/redis/
2. Download zip file with json module to same folder
3. Unzip
4. Restart
See `docker-compose.yml` in the project root and the config files in this directory.
6 changes: 6 additions & 0 deletions config/redis/docker.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# standalone:
REDIS_ARGS="--requirepass PASSWORD"

# cluster:
REDIS_PASSWORD=PASSWORD
REDIS_PUBLIC_IP=127.0.0.1
Loading

0 comments on commit c1b41f1

Please sign in to comment.