remove bff
This commit is contained in:
8
templates/init-user-db.sh
Normal file
8
templates/init-user-db.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||||
CREATE USER como WITH PASSWORD 'somenotverysecurepassword';
|
||||
CREATE DATABASE como;
|
||||
GRANT ALL PRIVILEGES ON DATABASE como TO como;
|
||||
EOSQL
|
Reference in New Issue
Block a user