Changeset View
Changeset View
Standalone View
Standalone View
source/tools/rdb/.env.example
# Copy this to .env for it to work | |||||
# The `DATABASE_URL` tells us which database to use. | |||||
# Format it as `mysql://{user}:'{password}'@{ip}/{db}`. | |||||
# E.g.: | |||||
DATABASE_URL=mysql://rdbuser:'my password'@localhost/rdb | |||||
# These are the settings we use for scrypt. | |||||
# See https://en.wikipedia.org/w/index.php?title=Scrypt#Algorithm | |||||
SCRYPT_LOG_N=7 | |||||
SCRYPT_R=4 | |||||
SCRYPT_P=1 | |||||
# Where to store the filebase, must end with a slash. E.g.: | |||||
FILEBASE_PREFIX=/home/gentz/Documents/0ad/source/tools/rdb/filebase/ | |||||
# Users will only be able to register up to `MAX_REGISTERS` accounts per | |||||
# `DAYS_TO_KEEP_REGISTERS` days. | |||||
DAYS_TO_KEEP_REGISTERS=2 | |||||
MAX_REGISTERS=3 | |||||
# The peper for our passwords | |||||
PEPPER=dfldfbkvbkoertjorkdnkmnbop | |||||
# The tls certificate and it's password | |||||
TLS_P12_CERTIFICATE=/home/gentz/Documents/0ad/source/tools/rdb/certificate.p12 | |||||
TLS_PASSWORD=password123 |
Wildfire Games · Phabricator