-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add custom redis container to avoid write issues
- Loading branch information
Mick Vermeulen
authored and
Mick Vermeulen
committed
Sep 21, 2020
1 parent
99f8656
commit 0de6006
Showing
5 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM redis:alpine | ||
WORKDIR /redis | ||
|
||
COPY redis.conf /usr/local/etc/redis/redis.conf | ||
COPY redis.sh ./ | ||
|
||
RUN chmod +x redis.sh |
Submodule Uchu
updated
from be3382 to 56ef54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
echo never > /sys/kernel/mm/transparent_hugepage/enabled | ||
echo never > /sys/kernel/mm/transparent_hugepage/defrag | ||
|
||
sysctl -w net.core.somaxconn=512 | ||
|
||
sysctl vm.overcommit_memory=1 | ||
|
||
redis-server /usr/local/etc/redis/redis.conf --bind 0.0.0.0 |