pleroma/postgresql/Dockerfile
Verita84 729cc4df2b fix
2021-08-25 08:39:26 -06:00

21 lines
391 B
Docker

FROM ubuntu:rolling
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update;apt-get install sudo postgresql -y
WORKDIR /tmp
ENV SHELL="/bin/bash"
ADD start.sh /
ADD setup.sh /
ADD crontab /
RUN crontab /crontab
ADD backup.sh /
#POSTGRES Tweaks
ADD postgresql.conf /etc/postgresql/13/main/
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/13/main/pg_hba.conf
CMD bash /start.sh