Files
OpenMMO/.env.example
T

37 lines
1.2 KiB
Bash

# Copy this file to `.env` and adjust the values for your environment.
# `.env` is gitignored and must never be committed.
LOGIN_DB_HOST=localhost
LOGIN_DB_PORT=20011
LOGIN_DB_NAME=openmmo_login_db
LOGIN_DB_USER=openmmo_login_user
LOGIN_DB_PASSWORD=changeMe!
# Off by default. The gradle run task turns it on without this.
#LOGIN_DB_SEED_DEV=true
GAME_DB_HOST=localhost
GAME_DB_PORT=20021
GAME_DB_NAME=openmmo_game_db
GAME_DB_USER=openmmo_game_user
GAME_DB_PASSWORD=changeMe!
#GAME_DB_SEED_DEV=true
OPENMMO_SESSION_SECRET=
# Created on first start, and only while the user table is still empty.
#OPENMMO_ADMIN_USERNAME=admin
#OPENMMO_ADMIN_PASSWORD=changeMe!
# Where the login server tells a client to reach the game server. Unset means this machine only,
# and an empty value is not the same as unset, it overrides the default with nothing.
#GAME_SERVER_PUBLIC_IPV4=203.0.113.5
#GAME_SERVER_PUBLIC_IPV6=2001:db8::1
#GAME_SERVER_PORT=7777
# Retail sends loopback for these whatever the addresses above are. Only for experimenting.
#GAME_SERVER_LOCAL_ADDRESS=127.0.0.1
#GAME_SERVER_LOCAL_HOSTNAME=localhost
# Private key for both servers. Leave empty for development, set one in production.
OPENMMO_GAME_PRIVATE_KEY=
OPENMMO_GAME_PRIVATE_KEY_FILE=