get rid of the PGDATE env variable and overriding the pg_hba.conf file
This commit is contained in:
parent
40ffdcdbb7
commit
60abbedd21
1
.env
1
.env
@ -17,7 +17,6 @@ POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_DB=postgres
|
||||
POSTGRES_HOST=db
|
||||
PGDATA=/var/lib/postgresql/data/db
|
||||
CKAN_DB_USER=ckandbuser
|
||||
CKAN_DB_PASSWORD=ckandbpassword
|
||||
CKAN_DB=ckandb
|
||||
|
||||
@ -68,7 +68,6 @@ services:
|
||||
- POSTGRES_USER
|
||||
- POSTGRES_PASSWORD
|
||||
- POSTGRES_DB
|
||||
- PGDATA
|
||||
- CKAN_DB_USER
|
||||
- CKAN_DB_PASSWORD
|
||||
- CKAN_DB
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
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)
|
||||
ADD docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
|
||||
Loading…
x
Reference in New Issue
Block a user