pleroma/postgresql/Dockerfile
Your Name d17d30bc9e fix
2021-11-02 13:10:27 -06:00

20 lines
346 B
Docker

FROM alpine
RUN apk update;apk add bash sudo postgresql postgresql-contrib
WORKDIR /tmp
ENV SHELL="/bin/bash"
ADD start.sh /
ADD setup.sh /
ADD crontab /
RUN crontab /crontab
ADD backup.sh /
#POSTGRES Tweaks
COPY postgresql.conf /etc/
#RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/main/pg_hba.conf
CMD bash /start.sh