15 lines
382 B
Docker
15 lines
382 B
Docker
|
FROM library/postgres
|
||
|
|
||
|
ENV POSTGRES_DB=klarrio
|
||
|
ENV POSTGRES_USER=admin
|
||
|
ENV POSTGRES_PASSWORD=hbfdmMtWuhctJuwB
|
||
|
ENV POSTGRES_HOST_AUTH_METHOD=scram-sha-256
|
||
|
ENV POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256
|
||
|
|
||
|
RUN echo 'set +o history' >> /etc/profile && echo 'set +o history' >> /root/.bashrc
|
||
|
|
||
|
COPY init.sql init.sh /docker-entrypoint-initdb.d/
|
||
|
COPY psqlrc /root/.psqlrc
|
||
|
|
||
|
USER patrick
|