GithubHelp home page GithubHelp logo

Comments (4)

IDerr avatar IDerr commented on July 28, 2024

i didn't found anything in this repo :(

from td-redis-operator.

gaoshengL avatar gaoshengL commented on July 28, 2024

hi,there is nearly no difference between officila images,we only add some script and binary file(you can find in pod instance) into docker iamges,just like:

Dockerfile of redis standby:

FROM registry.tongdun.me/library/centos7.2-common:1.1.0
RUN mkdir /home/admin/redis && \
    cd /home/admin/redis && \
    mkdir output data script
COPY redis-server redis-cli redis-check-rdb docker-entrypoint.sh check_ok.py  check_master.py  redis-login.sh /usr/local/bin/
COPY init_redis.py /home/admin/redis/script
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 6379

Dockerfile of sentinel:

FROM registry.tongdun.me/library/centos7.2-common:1.1.0
RUN mkdir /home/admin/sentinel && \
    cd /home/admin/sentinel && \
    mkdir output && \
    mkdir script
COPY redis-cli redis-sentinel docker-entrypoint.sh  check_sentinel_alive.sh /usr/local/bin/
COPY sentinel.conf /home/admin/sentinel
COPY init_sentinel.py /home/admin/sentinel/script
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 26379

from td-redis-operator.

houseonline avatar houseonline commented on July 28, 2024

Here are some commonly used Dockerfile for your reference:

from td-redis-operator.

IDerr avatar IDerr commented on July 28, 2024

Thanks for that

from td-redis-operator.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.