feat(server): persist accounts and characters in PostgreSQL (#48)
* feat(server): persist accounts and characters in PostgreSQL via jOOQ, HikariCP, and Flyway * test: reword test names to match the writing style * docs: explain the database setup and dev seeding
This commit is contained in:
1 parent
fb93eb4e5d
commit
daf4daf197
50 files changed
+1622
-70
No files matched your search
@@ -6,3 +6,21 @@ server {
|
||||
sessionSecret = "dev-only-secret-do-not-use-in-production"
|
||||
sessionSecret = ${?OPENMMO_SESSION_SECRET}
|
||||
}
|
||||
|
||||
db {
|
||||
host = "localhost"
|
||||
host = ${?GAME_DB_HOST}
|
||||
port = 20021
|
||||
port = ${?GAME_DB_PORT}
|
||||
name = "openmmo_game_db"
|
||||
name = ${?GAME_DB_NAME}
|
||||
user = "openmmo_game_user"
|
||||
user = ${?GAME_DB_USER}
|
||||
password = "changeMe!"
|
||||
password = ${?GAME_DB_PASSWORD}
|
||||
poolSize = 4
|
||||
poolSize = ${?GAME_DB_POOL_SIZE}
|
||||
# Applies the dev seed data in db/dev. Turn off in production.
|
||||
seedDev = true
|
||||
seedDev = ${?GAME_DB_SEED_DEV}
|
||||
}
|
||||
Reference in new issue
Block a user