Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
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
QA
qg-dockerfiles
Commits
a211e102
Commit
a211e102
authored
Jul 18, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis3sentinel
parent
5fa6cb59
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2493 additions
and
0 deletions
+2493
-0
Dockerfile
tke/redis3sentinel/Dockerfile
+12
-0
redis-26379.conf
tke/redis3sentinel/confs/redis-26379.conf
+8
-0
redis-6379.conf
tke/redis3sentinel/confs/redis-6379.conf
+599
-0
redis-6380.conf
tke/redis3sentinel/confs/redis-6380.conf
+596
-0
redis-6381.conf
tke/redis3sentinel/confs/redis-6381.conf
+597
-0
redis-6382.conf
tke/redis3sentinel/confs/redis-6382.conf
+597
-0
redis-6383.conf
tke/redis3sentinel/confs/redis-6383.conf
+76
-0
start.sh
tke/redis3sentinel/start.sh
+8
-0
No files found.
tke/redis3sentinel/Dockerfile
0 → 100644
View file @
a211e102
FROM
redis:3-alpine
WORKDIR
/home/quantgroups/redis
COPY
confs/*.conf ./conf/
COPY
start.sh .
RUN
mkdir
/var/log/redis
\
&&
mkdir
/var/lib/redis
\
&&
mkdir
/var/run/redis
EXPOSE
6379 6380 6381 6382 6383 26379
CMD
./start.sh
tke/redis3sentinel/confs/redis-26379.conf
0 → 100644
View file @
a211e102
port
26379
dir
/
var
/
lib
/
redis
/
logfile
/
var
/
log
/
redis
/
redis
.
log
sentinel
monitor
qsmaster
127
.
0
.
0
.
1
6379
1
sentinel
down
-
after
-
milliseconds
qsmaster
10000
sentinel
parallel
-
syncs
qsmaster
1
sentinel
failover
-
timeout
qsmaster
180000
daemonize
no
\ No newline at end of file
tke/redis3sentinel/confs/redis-6379.conf
0 → 100644
View file @
a211e102
This diff is collapsed.
Click to expand it.
tke/redis3sentinel/confs/redis-6380.conf
0 → 100644
View file @
a211e102
This diff is collapsed.
Click to expand it.
tke/redis3sentinel/confs/redis-6381.conf
0 → 100644
View file @
a211e102
This diff is collapsed.
Click to expand it.
tke/redis3sentinel/confs/redis-6382.conf
0 → 100644
View file @
a211e102
This diff is collapsed.
Click to expand it.
tke/redis3sentinel/confs/redis-6383.conf
0 → 100644
View file @
a211e102
daemonize
no
pidfile
/
var
/
run
/
redis
/
redis
.
pid
port
6383
bind
0
.
0
.
0
.
0
timeout
0
tcp
-
keepalive
0
loglevel
notice
logfile
/
var
/
log
/
redis
.
log
databases
16
save
900
1
save
300
10
save
60
10000
stop
-
writes
-
on
-
bgsave
-
error
yes
rdbcompression
yes
rdbchecksum
yes
dbfilename
dump
.
rdb
dir
/
var
/
lib
/
redis
/
slave
-
serve
-
stale
-
data
yes
slave
-
read
-
only
yes
repl
-
disable
-
tcp
-
nodelay
no
slave
-
priority
100
appendonly
no
appendfsync
everysec
no
-
appendfsync
-
on
-
rewrite
no
auto
-
aof
-
rewrite
-
percentage
100
auto
-
aof
-
rewrite
-
min
-
size
64
mb
lua
-
time
-
limit
5000
slowlog
-
log
-
slower
-
than
10000
slowlog
-
max
-
len
128
hash
-
max
-
ziplist
-
entries
512
hash
-
max
-
ziplist
-
value
64
list
-
max
-
ziplist
-
entries
512
list
-
max
-
ziplist
-
value
64
set
-
max
-
intset
-
entries
512
zset
-
max
-
ziplist
-
entries
128
zset
-
max
-
ziplist
-
value
64
activerehashing
yes
client
-
output
-
buffer
-
limit
normal
0
0
0
client
-
output
-
buffer
-
limit
slave
256
mb
64
mb
60
client
-
output
-
buffer
-
limit
pubsub
32
mb
8
mb
60
hz
10
aof
-
rewrite
-
incremental
-
fsync
yes
tke/redis3sentinel/start.sh
0 → 100755
View file @
a211e102
#bin/bash
redis-server /home/quantgroups/redis/conf/redis-6380.conf &
redis-server /home/quantgroups/redis/conf/redis-6381.conf &
redis-server /home/quantgroups/redis/conf/redis-6382.conf &
redis-server /home/quantgroups/redis/conf/redis-6383.conf &
redis-server /home/quantgroups/redis/conf/redis-6379.conf &
redis-sentinel /home/quantgroups/redis/conf/redis-26379.conf
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