Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
503a279c
Unverified
Commit
503a279c
authored
Mar 17, 2020
by
Nick Craver
Committed by
GitHub
Mar 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc fixes for Docker around Sentinel (#1391)
Found while fixing up runs for #1067. Docker layer cache sucks :)
parent
a5017f6a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
7 deletions
+14
-7
docker-entrypoint.sh
tests/RedisConfigs/Docker/docker-entrypoint.sh
+1
-0
redis-7010.conf
tests/RedisConfigs/Sentinel/redis-7010.conf
+2
-0
redis-7011.conf
tests/RedisConfigs/Sentinel/redis-7011.conf
+4
-2
sentinel-26379.conf
tests/RedisConfigs/Sentinel/sentinel-26379.conf
+1
-1
sentinel-26380.conf
tests/RedisConfigs/Sentinel/sentinel-26380.conf
+1
-1
sentinel-26381.conf
tests/RedisConfigs/Sentinel/sentinel-26381.conf
+3
-3
docker-compose.yml
tests/RedisConfigs/docker-compose.yml
+2
-0
No files found.
tests/RedisConfigs/Docker/docker-entrypoint.sh
View file @
503a279c
...
@@ -4,6 +4,7 @@ if [ "$#" -ne 0 ]; then
...
@@ -4,6 +4,7 @@ if [ "$#" -ne 0 ]; then
exec
"
$@
"
exec
"
$@
"
else
else
mkdir
-p
/var/log/supervisor
mkdir
-p
/var/log/supervisor
mkdir
Temp/
supervisord
-c
/etc/supervisord.conf
supervisord
-c
/etc/supervisord.conf
sleep
3
sleep
3
...
...
tests/RedisConfigs/Sentinel/redis-7010.conf
View file @
503a279c
port
7010
port
7010
repl
-
diskless
-
sync
yes
repl
-
diskless
-
sync
-
delay
0
maxmemory
100
mb
maxmemory
100
mb
appendonly
no
appendonly
no
dir
"../Temp"
dir
"../Temp"
...
...
tests/RedisConfigs/Sentinel/redis-7011.conf
View file @
503a279c
port
7011
port
7011
slaveof
127
.
0
.
0
.
1
7010
repl
-
diskless
-
sync
yes
repl
-
diskless
-
sync
-
delay
0
maxmemory
100
mb
maxmemory
100
mb
appendonly
no
appendonly
no
dir
"../Temp"
dir
"../Temp"
dbfilename
"sentinel-target-7011.rdb"
dbfilename
"sentinel-target-7011.rdb"
save
""
save
""
slaveof
127
.
0
.
0
.
1
7010
\ No newline at end of file
\ No newline at end of file
tests/RedisConfigs/Sentinel/sentinel-26379.conf
View file @
503a279c
port
26379
port
26379
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
failover
-
timeout
mymaster
2
000
sentinel
failover
-
timeout
mymaster
1
000
sentinel
config
-
epoch
mymaster
0
sentinel
config
-
epoch
mymaster
0
dir
"../Temp"
dir
"../Temp"
\ No newline at end of file
tests/RedisConfigs/Sentinel/sentinel-26380.conf
View file @
503a279c
port
26380
port
26380
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7010
1
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
failover
-
timeout
mymaster
2
000
sentinel
failover
-
timeout
mymaster
1
000
sentinel
config
-
epoch
mymaster
0
sentinel
config
-
epoch
mymaster
0
dir
"../Temp"
dir
"../Temp"
\ No newline at end of file
tests/RedisConfigs/Sentinel/sentinel-26381.conf
View file @
503a279c
port
26381
port
26381
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7011
2
sentinel
monitor
mymaster
127
.
0
.
0
.
1
7011
2
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
down
-
after
-
milliseconds
mymaster
1000
sentinel
failover
-
timeout
mymaster
2
000
sentinel
failover
-
timeout
mymaster
1
000
sentinel
config
-
epoch
mymaster
21
sentinel
config
-
epoch
mymaster
0
dir
"../Temp
/sentinel-26381
"
dir
"../Temp"
tests/RedisConfigs/docker-compose.yml
View file @
503a279c
...
@@ -11,3 +11,5 @@ services:
...
@@ -11,3 +11,5 @@ services:
-
7000-7006:7000-7006
-
7000-7006:7000-7006
-
7010-7011:7010-7011
-
7010-7011:7010-7011
-
26379-26381:26379-26381
-
26379-26381:26379-26381
sysctls
:
net.core.somaxconn
:
'
511'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment