##// END OF EJS Templates
Add new logo
Add new logo

File last commit:

r300:c6aee8aed3f9
r322:84aacd834a37
Show More
create_db.sh
5 lines | 315 B | application/x-sh | BashLexer
#!/bin/env bash
echo "Creating database..."
psql -U postgres -c "CREATE USER $POSTGRES_USER WITH PASSWORD '$POSTGRES_PASSWORD'; CREATE ROLE "
psql -U postgres -c "CREATE DATABASE $POSTGRES_DB_NAME; CREATE DATABASE "
psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE $POSTGRES_DB_NAME to $POSTGRES_USER; GRANT "