Files
OpenMMO/server.game/src/main/resources/application.conf
T
Fiereu daf4daf197 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
2026-07-21 11:25:21 +02:00

27 lines
636 B
Plaintext

server {
host = "0.0.0.0"
port = 7777
checksumSize = 2
rootKeyResource = "game.private.pem"
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}
}