Initial commit - realms platform
This commit is contained in:
parent
c590ab6d18
commit
c717c3751c
234 changed files with 74103 additions and 15231 deletions
11
database/00-init-nakama.sh
Normal file
11
database/00-init-nakama.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Create Nakama database for game server
|
||||
# This script runs before init.sql (alphabetically)
|
||||
set -e
|
||||
|
||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "postgres" <<-EOSQL
|
||||
CREATE DATABASE nakama;
|
||||
GRANT ALL PRIVILEGES ON DATABASE nakama TO $POSTGRES_USER;
|
||||
EOSQL
|
||||
|
||||
echo "Nakama database created successfully"
|
||||
Loading…
Add table
Add a link
Reference in a new issue