2022-02-01 12:19:48 +01:00
|
|
|
FROM postgis/postgis:14-3.2-alpine
|
2020-09-11 11:28:34 +02:00
|
|
|
|
|
|
|
# Allow connections; we don't map out any ports so only linked docker containers can connect
|
|
|
|
RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/pg_hba.conf
|
|
|
|
|
|
|
|
# Customize default user/pass/db
|
|
|
|
ENV POSTGRES_DB ckan
|
|
|
|
ENV POSTGRES_USER ckan
|
|
|
|
ARG POSTGRES_PASSWORD
|
|
|
|
ARG DS_RO_PASS
|
|
|
|
|
|
|
|
# Include datastore setup scripts
|
2021-01-15 22:24:16 +01:00
|
|
|
COPY ./postgresql/docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
|