Skip to content

Commit

Permalink
Updated backwards compatibility of docker commands (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshith-ravi authored Sep 3, 2023
1 parent eb77832 commit 6167184
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
Empty file modified redis/cluster-entrypoint.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion redis/cluster.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ WORKDIR /redis
COPY cluster.conf .
RUN chown redis:redis /redis/cluster.conf
EXPOSE 6379
COPY --chmod=755 cluster-entrypoint.sh .
COPY cluster-entrypoint.sh .
ENTRYPOINT ["/redis/cluster-entrypoint.sh"]
2 changes: 1 addition & 1 deletion redis/docker_down.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
call set_host_ip.cmd
docker compose down
docker-compose down
2 changes: 1 addition & 1 deletion redis/docker_down.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
./set_host_ip.sh
docker compose down
docker-compose down
2 changes: 1 addition & 1 deletion redis/docker_up.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
call set_host_ip.cmd
docker compose up -d
docker-compose up -d
2 changes: 1 addition & 1 deletion redis/docker_up.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sh ./set_host_ip.sh
docker compose up -d
docker-compose up -d
Empty file modified redis/sentinel-entrypoint.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion redis/sentinel.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ WORKDIR /redis
COPY sentinel.conf .
RUN chown redis:redis /redis/sentinel.conf
EXPOSE 26379
COPY --chmod=755 sentinel-entrypoint.sh .
COPY sentinel-entrypoint.sh .
ENTRYPOINT ["/redis/sentinel-entrypoint.sh"]
Empty file modified redis/set_host_ip.sh
100644 → 100755
Empty file.

0 comments on commit 6167184

Please sign in to comment.