mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-27 10:23:13 +00:00
* Add dev-microservice branch to CI workflow and adapt ports in Dockerfile * Added new microservices and related files to Docker Compose deployment * Add centralized location for certs and add script for include ca cert in containers system trust store * Re-add exposed ports to Dockerfile * Add ucentralsec DB env variables to correct file * Fix rttys cert location and add-ca-cert.sh script * Adapt .gitignore to new directory structure * Update README.md * Update README.md * Use uCentralGW master tag by default since branch will be merged anyway
9 lines
291 B
Bash
Executable File
9 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
|
|
CREATE USER $UCENTRALSEC_DB_USER WITH ENCRYPTED PASSWORD '$UCENTRALSEC_DB_PASSWORD';
|
|
CREATE DATABASE $UCENTRALSEC_DB;
|
|
GRANT ALL PRIVILEGES ON DATABASE $UCENTRALSEC_DB TO $UCENTRALSEC_DB_USER;
|
|
EOSQL
|