You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE USER developer WITH PASSWORD 'example';
CREATE DATABASE development;
GRANT ALL PRIVILEGES ON DATABASE development TO developer;
ALTER DATABASE development OWNER TO developer;
GRANT USAGE, CREATE ON SCHEMA public TO developer;
GRANT ALL PRIVILEGES ON TABLESPACE tsname TO developer;
EOSQL
The text was updated successfully, but these errors were encountered:
I think dbbe should close connection after each sql request or use once connection
docker exec -it -u root db_pgbouncer_1 psql -p 6432 -U postgres pgbouncer -c "show clients"
docker-compose.yml
userlist.txt
docker-entrypoint-initdb.d/init-user-db.sh
The text was updated successfully, but these errors were encountered: