wand/.env

163 lines
3.8 KiB
Bash
Raw Normal View History

2020-05-07 02:54:53 +00:00
##############################################
# Database
##############################################
#
# POSTGRES_USER
# -------------
# The name for the root database account and
# also the name for the database itself.
#
# POSTGRES_PASSWORD
# -----------------
# The password for the postgres database. It
# is reccomended that you change this to
# something secure!
##############################################
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
##############################################
# Web
##############################################
#
# WEB_PORT
# --------
# The port that the nginx container will
# listen on. It is fine to leave this so long
# as you do not have a web server running
# already.
#
# WEB_HOSTNAME
# ------------
# The hostname you intend to serve web traffic
# through. For example `clubpenguin.com`.
#
# WEB_LEGACY_PLAY
# ---------------
# The URL at which clients can access your
# legacy play page from. Ideally this is
# accessed via a subdomain like
# `play.clubpenguin.com` but it can also be on
# your root domain with a path like
# `http://clubpenguin.com/play`.
#
# WEB_LEGACY_MEDIA
# ----------------
# The URL at which clients can access your
# media server from. Ideally this is accessed
# via a subdomain like `media.clubpenguin.com`
# but it can also be on your root domain with
# a path like `http://clubpenguin.com/media`.
#
# WEB_VANILLA_PLAY
# ----------------
# The URL at which clients can access your
# vanilla play page from.
#
# WEB_VANILLA_MEDIA
# -----------------
# The URL at which clients can access your
# vanilla media server from.
#
# WEB_RECAPTCHA_SITE
# ------------------
# Google reCAPTCHA v3 site key.
#
# Leave blank to disable reCAPTCHA.
#
# WEB_RECAPTCHA_SECRET
# --------------------
# Google reCAPTCHA v3 secret key.
#
# WEB_SENDGRID_KEY
# ----------------
# Sendgrid API key used for player activation.
#
# Leave blank to disable activation and have
# players be activated immediately upon
# registration.
##############################################
WEB_PORT=80
WEB_HOSTNAME=localhost
WEB_LEGACY_PLAY=http://old.localhost
WEB_LEGACY_MEDIA=http://legacy.localhost
WEB_VANILLA_PLAY=http://play.localhost
WEB_VANILLA_MEDIA=http://media.localhost
WEB_RECAPTCHA_SITE=
WEB_RECAPTCHA_SECRET=
WEB_SENDGRID_KEY=
##############################################
# Game
##############################################
#
# GAME_ADDRESS
# ------------
# This is where clients can connect to your
# game server. If this is a localhost setup,
# it can stay default. Otherwise, it should be
# the external IP of the host machine this
# instance is running on.
#
# GAME_LOGIN_PORT
# ---------------
# The login server port. Usually fine to leave
# this.
##############################################
GAME_ADDRESS=127.0.0.1
GAME_LOGIN_PORT=6112
##############################################
# Snowflake (Card-Jitsu Snow)
##############################################
#
# SNOWFLAKE_HOST
# --------------
# This is similar to the GAME_ADDRESS but for
# the Card-Jitsu Snow game server.
#
# SNOWFLAKE_PORT
# --------------
# The port where the Card-Jitsu Snow server
# is running. Usually fine to leave this as
# default.
#
# APPLY_WINDOWMANAGER_OFFSET
# --------------------------
# If you have issues with the game being in a
# wierd position, try setting this to True.
#
# ALLOW_FORCESTART_SNOW
# ---------------------
# Allows players to force-start a regular
# match.
#
# ALLOW_FORCESTART_TUSK
# ---------------------
# Allows players to force-start a tusk
# battle.
#
# MATCHMAKING_TIMEOUT
# -------------------
# The amount of time in seconds for a
# force-start to happen
#
##############################################
SNOWFLAKE_HOST=127.0.0.1
SNOWFLAKE_PORT=7002
APPLY_WINDOWMANAGER_OFFSET=False
ALLOW_FORCESTART_SNOW=False
ALLOW_FORCESTART_TUSK=True
MATCHMAKING_TIMEOUT=30