mirror of https://github.com/gogits/gogs.git
Meaglith Ma
11 years ago
5 changed files with 2 additions and 12 deletions
@ -1,12 +1,10 @@ |
|||||||
FROM ubuntu |
FROM ubuntu |
||||||
MAINTAINER Meaglith Ma <genedna@gmail.com> (@genedna), Lance Ju <juzhenatpku@gmail.com> (@crystaldust) |
MAINTAINER Meaglith Ma <genedna@gmail.com> (@genedna), Lance Ju <juzhenatpku@gmail.com> (@crystaldust) |
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive |
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y redis-server |
RUN apt-get update && apt-get install -y redis-server |
||||||
# Usually redis doesn't need a password |
# Usually redis doesn't need a password |
||||||
#RUN sed -i "s/# requirepass foobared/requirepass THE_REDIS_PASSWORD/g" /etc/redis/redis.conf |
#RUN sed -i "s/# requirepass foobared/requirepass THE_REDIS_PASSWORD/g" /etc/redis/redis.conf |
||||||
EXPOSE 6379 |
EXPOSE 6379 |
||||||
ENTRYPOINT ["/usr/bin/redis-server"] |
ENTRYPOINT ["/usr/bin/redis-server"] |
||||||
CMD ["--bind", "0.0.0.0"] |
CMD ["--bind", "0.0.0.0"] |
||||||
|
|
||||||
|
Loading…
Reference in new issue