diff --git a/docker-compose.yml b/docker-compose.yml index 6accccd..8a8d89f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -210,7 +210,7 @@ services: networks: - wand ports: - - ${SNOWFLAKE_HOST}:${SNOWFLAKE_PORT}:${SNOWFLAKE_PORT} + - ${SNOWFLAKE_PORT}:${SNOWFLAKE_PORT} env_file: - .env environment: diff --git a/templates/dash/config.py.template b/templates/dash/config.py.template index 8db84ce..73e6f97 100644 --- a/templates/dash/config.py.template +++ b/templates/dash/config.py.template @@ -157,5 +157,17 @@ LOGIN_FAILURE_TIMER = 3600 LOGIN_FAILURE_LIMIT = 5 +""" +Card-Jitsu Snow +--------------- +CJS_HOST : str + External ip or domain of the Card-Jitsu Snow game server. +CJS_PORT : int + Port of the Card-Jitsu Snow game server. +""" +CJS_HOST = '{{ .Env.SNOWFLAKE_HOST }}' +CJS_PORT = {{ .Env.SNOWFLAKE_PORT }} + + # For more configuration settings see # https://sanic.readthedocs.io/en/latest/sanic/config.html#builtin-configuration-values