get rid of the PGDATE env variable and overriding the pg_hba.conf file

This commit is contained in:
Brett 2023-06-15 10:07:14 +02:00
parent 40ffdcdbb7
commit 60abbedd21
3 changed files with 0 additions and 5 deletions

1
.env
View File

@ -17,7 +17,6 @@ POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres POSTGRES_DB=postgres
POSTGRES_HOST=db POSTGRES_HOST=db
PGDATA=/var/lib/postgresql/data/db
CKAN_DB_USER=ckandbuser CKAN_DB_USER=ckandbuser
CKAN_DB_PASSWORD=ckandbpassword CKAN_DB_PASSWORD=ckandbpassword
CKAN_DB=ckandb CKAN_DB=ckandb

View File

@ -68,7 +68,6 @@ services:
- POSTGRES_USER - POSTGRES_USER
- POSTGRES_PASSWORD - POSTGRES_PASSWORD
- POSTGRES_DB - POSTGRES_DB
- PGDATA
- CKAN_DB_USER - CKAN_DB_USER
- CKAN_DB_PASSWORD - CKAN_DB_PASSWORD
- CKAN_DB - CKAN_DB

View File

@ -1,7 +1,4 @@
FROM postgres:12-alpine FROM postgres:12-alpine
# 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
# Include extra setup scripts (eg datastore) # Include extra setup scripts (eg datastore)
ADD docker-entrypoint-initdb.d /docker-entrypoint-initdb.d ADD docker-entrypoint-initdb.d /docker-entrypoint-initdb.d