forked from riandyrn/docker-redis-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
38 lines (32 loc) · 1.87 KB
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[supervisord]
nodaemon=false
[program:keydb-master-1]
command=keydb-server /workdir/keydb.conf --port 6400 --cluster-config-file keydb-master-1-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-master-1.log
stderr_logfile=/var/log/supervisor/keydb-master-1.log
autorestart=true
[program:keydb-master-2]
command=keydb-server /workdir/keydb.conf --port 6401 --cluster-config-file keydb-master-2-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-master-2.log
stderr_logfile=/var/log/supervisor/keydb-master-2.log
autorestart=true
[program:keydb-master-3]
command=keydb-server /workdir/keydb.conf --port 6402 --cluster-config-file keydb-master-3-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-master-3.log
stderr_logfile=/var/log/supervisor/keydb-master-3.log
autorestart=true
[program:keydb-slave-1]
command=keydb-server /workdir/keydb.conf --port 6403 --cluster-config-file keydb-slave-1-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-slave-1.log
stderr_logfile=/var/log/supervisor/keydb-slave-1.log
autorestart=true
[program:keydb-slave-2]
command=keydb-server /workdir/keydb.conf --port 6404 --cluster-config-file keydb-slave-2-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-slave-2.log
stderr_logfile=/var/log/supervisor/keydb-slave-2.log
autorestart=true
[program:keydb-slave-3]
command=keydb-server /workdir/keydb.conf --port 6405 --cluster-config-file keydb-slave-3-nodes.conf --loadmodule /usr/lib/keydb/modules/modjs.so /workdir/startup.js
stdout_logfile=/var/log/supervisor/keydb-slave-3.log
stderr_logfile=/var/log/supervisor/keydb-slave-3.log
autorestart=true