diff --git a/docker/Dockerfile b/docker/Dockerfile index a8bcd62..02b5e51 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,8 +4,6 @@ ENV SENTINEL_QUORUM 2 ENV SENTINEL_DOWN_AFTER 1000 ENV SENTINEL_FAILOVER 1000 -RUN mkdir -p /redis - WORKDIR /redis COPY sentinel.conf . diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b00247c..031af42 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,8 +17,6 @@ services: build: context: ./ image: lamoda/redis-sentinel:latest - links: - - redis-master ports: - "26379" @@ -26,8 +24,6 @@ services: image: lamoda/redis-sentinel:latest depends_on: - redis-sentinel - links: - - redis-master ports: - "26379" @@ -35,7 +31,5 @@ services: image: lamoda/redis-sentinel:latest depends_on: - redis-sentinel - links: - - redis-master ports: - "26379"