Add snowflake configuration to wand (#34)

* Change url of wns server

* Add snowflake submodule

* Add snowflake docker deployment

* Update submodule

* Update submodule

* Refactor snowflake compose

* Fast-forward snowflake submodule

* Add snowflake configuration to `.env`

* Set force start for regular game to `False`

* Add host & port configuration

* Add wns url for language-specific sites

* Add snowflake to submodule sync

* Add snowflake configuration to install script
This commit is contained in:
Levi
2024-06-07 10:16:17 +02:00
committed by GitHub
parent 3f97b8a692
commit c9b8de1ee9
10 changed files with 97 additions and 7 deletions

47
.env
View File

@@ -113,3 +113,50 @@ WEB_SENDGRID_KEY=
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