Add initial docker setup for pgsql, mq, redis

This commit is contained in:
Jan Dittberner 2018-11-19 21:36:34 +01:00
commit d231f90c90
11 changed files with 1923 additions and 0 deletions

18
redis/Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM debian:stretch
LABEL maintainer "Jan Dittberner <jan@dittberner.info>"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dumb-init \
redis-server \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*.*
EXPOSE 6379
VOLUME /var/lib/redis
COPY redis.conf /etc/redis/redis.conf
COPY startup.sh /srv/
ENTRYPOINT ["dumb-init"]
CMD "/srv/startup.sh"