Skip to content

Commit

Permalink
Minor release improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
vtm9 committed Feb 11, 2024
1 parent fd74b2e commit 2f50c1f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
1 change: 0 additions & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
nodejs: 20.11.0

4 changes: 2 additions & 2 deletions ansible/development/group_vars/all/vars.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_env: 'delelopment'
node_env: 'development'
bot_port: 5000
bot_codebattle_socket_token: 'chat_bot'
bot_codebattle_socket_url: 'ws://localhost:4000/chat_bot'
bot_codebattle_socket_url: 'ws://localhost:4002/chat_bot'
codebattle_db_name: 'codebattle_dev'
codebattle_db_hostname: 'db'
codebattle_db_username: 'postgres'
Expand Down
24 changes: 12 additions & 12 deletions ansible/templates/environment.j2
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
NODE_ENV:{{ node_env }}
BOT_PORT:{{ bot_port }}
BOT_CODEBATTLE_SOCKET_TOKEN:{{ bot_codebattle_socket_token }}
BOT_CODEBATTLE_SOCKET_URL:{{ bot_codebattle_socket_url }}
CODEBATTLE_DB_NAME:{{ codebattle_db_name }}
CODEBATTLE_DB_HOSTNAME:{{ codebattle_db_hostname }}
CODEBATTLE_DB_USERNAME:{{ codebattle_db_username }}
CODEBATTLE_DB_PASSWORD:{{ codebattle_db_password }}
CODEBATTLE_DB_PORT:{{ codebattle_db_port }}
TELEGRAM_BOT_TOKEN:{{ telegram_bot_token }}
DISCORD_BOT_TOKEN:{{ discord_bot_token }}
DISCORD_BOT_CLIENT_ID:{{ discord_bot_client_id }}
NODE_ENV={{ node_env }}
BOT_PORT={{ bot_port }}
BOT_CODEBATTLE_SOCKET_TOKEN={{ bot_codebattle_socket_token }}
BOT_CODEBATTLE_SOCKET_URL={{ bot_codebattle_socket_url }}
CODEBATTLE_DB_NAME={{ codebattle_db_name }}
CODEBATTLE_DB_HOSTNAME={{ codebattle_db_hostname }}
CODEBATTLE_DB_USERNAME={{ codebattle_db_username }}
CODEBATTLE_DB_PASSWORD={{ codebattle_db_password }}
CODEBATTLE_DB_PORT={{ codebattle_db_port }}
TELEGRAM_BOT_TOKEN={{ telegram_bot_token }}
DISCORD_BOT_TOKEN={{ discord_bot_token }}
DISCORD_BOT_CLIENT_ID={{ discord_bot_client_id }}

0 comments on commit 2f50c1f

Please sign in to comment.