Skip to content

Commit 1b1d810

Browse files
authored
Create Redis-Sentinel.Dockerfile
1 parent ca0167b commit 1b1d810

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM centos7.2-common:1.1.0
2+
RUN mkdir /home/admin/sentinel && \
3+
cd /home/admin/sentinel && \
4+
mkdir output && \
5+
mkdir script
6+
COPY redis-cli redis-sentinel docker-entrypoint.sh check_sentinel_alive.sh /usr/local/bin/
7+
COPY sentinel.conf /home/admin/sentinel
8+
COPY init_sentinel.py /home/admin/sentinel/script
9+
ENTRYPOINT ["docker-entrypoint.sh"]
10+
EXPOSE 26379

0 commit comments

Comments
 (0)