kopia lustrzana https://github.com/kartoza/docker-postgis
17 wiersze
310 B
Bash
17 wiersze
310 B
Bash
#!/usr/bin/env bash
|
|
|
|
source /scripts/env-data.sh
|
|
|
|
# This script will setup new configured user
|
|
|
|
# Check user already exists
|
|
|
|
role_check "$POSTGRES_USER"
|
|
role_creation ${POSTGRES_USER} SUPERUSER $POSTGRES_PASS
|
|
|
|
|
|
role_check "$REPLICATION_USER"
|
|
role_creation ${REPLICATION_USER} REPLICATION ${REPLICATION_PASS}
|
|
|
|
|