mirror of
https://github.com/solero/wand.git
synced 2025-10-20 05:58:02 +00:00
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:
@@ -204,6 +204,32 @@ services:
|
||||
"-template", "/usr/src/dash/config.py.template:/usr/src/dash/config.py",
|
||||
"python", "bootstrap.py"]
|
||||
command: ["-c", "config.py"]
|
||||
snowflake:
|
||||
build: ./snowflake
|
||||
restart: always
|
||||
networks:
|
||||
- wand
|
||||
ports:
|
||||
- ${SNOWFLAKE_HOST}:${SNOWFLAKE_PORT}:${SNOWFLAKE_PORT}
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
- REDIS_HOST=redis
|
||||
- MEDIA_LOCATION=${WEB_VANILLA_MEDIA}
|
||||
- PORT=${SNOWFLAKE_PORT}
|
||||
volumes:
|
||||
- ./snowflake:/usr/src/snowflake
|
||||
- ./.env:/usr/src/snowflake/.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
- dash
|
||||
links:
|
||||
- db:db
|
||||
- redis:redis
|
||||
- houdini_login:login
|
||||
entrypoint: ["dockerize", "-wait", "tcp://login:${GAME_LOGIN_PORT}", "python", "./main.py"]
|
||||
|
||||
networks:
|
||||
wand:
|
||||
|
Reference in New Issue
Block a user