Add initial docker setup for pgsql, mq, redis
This commit is contained in:
commit
d231f90c90
11 changed files with 1923 additions and 0 deletions
18
pgsql/Dockerfile
Normal file
18
pgsql/Dockerfile
Normal 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 \
|
||||
postgresql \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*.*
|
||||
|
||||
EXPOSE 5432
|
||||
|
||||
VOLUME /var/lib/postgresql/
|
||||
COPY pg_hba.conf /etc/postgresql/9.6/main/pg_hba.conf
|
||||
COPY startup.sh /srv/
|
||||
|
||||
ENTRYPOINT ["dumb-init"]
|
||||
CMD "/srv/startup.sh"
|
Loading…
Add table
Add a link
Reference in a new issue