Initial commit - realms platform

This commit is contained in:
doomtube 2026-01-05 22:54:27 -05:00
parent c590ab6d18
commit c717c3751c
234 changed files with 74103 additions and 15231 deletions

View 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"