mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
426 B
11 lines
426 B
11 years ago
|
FROM stackbrew/ubuntu:saucy
|
||
|
MAINTAINER Meaglith Ma <genedna@gmail.com> (@genedna), Lance Ju <juzhenatpku@gmail.com> (@crystaldust)
|
||
|
|
||
|
RUN apt-get update && apt-get install -y redis-server
|
||
|
# Usually redis doesn't need a password
|
||
|
#RUN sed -i "s/# requirepass foobared/requirepass THE_REDIS_PASSWORD/g" /etc/redis/redis.conf
|
||
|
EXPOSE 6379
|
||
|
ENTRYPOINT ["/usr/bin/redis-server"]
|
||
|
CMD ["--bind", "0.0.0.0"]
|
||
|
|