- Update database user names and passwords - The CKAN database is created with a new SQL script in the docker-entrypoint-initdb.d/ directory - Remove host port for CKAN container - now has a front-end network for NGINX and a back-end network for the rest of the containers, plus NGINX
5 lines
235 B
SQL
Executable File
5 lines
235 B
SQL
Executable File
\set datastore_ro_password '\'' `echo $DATASTORE_READONLY_PASSWORD` '\''
|
|
|
|
CREATE ROLE datastore_ro NOSUPERUSER NOCREATEDB NOCREATEROLE LOGIN PASSWORD :datastore_ro_password;
|
|
CREATE DATABASE datastore OWNER ckandbuser ENCODING 'utf-8';
|