- 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
205 B
SQL
Executable File
5 lines
205 B
SQL
Executable File
\set ckan_db_password '\'' `echo $CKAN_DB_PASSWORD` '\''
|
|
|
|
CREATE ROLE ckandbuser NOSUPERUSER CREATEDB CREATEROLE LOGIN PASSWORD :ckan_db_password;
|
|
CREATE DATABASE ckandb OWNER ckandbuser ENCODING 'utf-8';
|