Skip to content

Commit

Permalink
removed detach=false
Browse files Browse the repository at this point in the history
  • Loading branch information
ivozilkenat committed Jul 17, 2024
1 parent 60c547d commit 362abc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/add_game_lobby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
game_image: "{{ game_image_path }}"

- name: Deploy game lobby service
command: docker stack deploy --detach=false -c "{{ compose_file }}" "{{ stack_name }}"
command: docker stack deploy -c "{{ compose_file }}" "{{ stack_name }}"

- name: Clean up generated Docker Compose file
file:
Expand Down
2 changes: 1 addition & 1 deletion deployment/start_core_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
set -a
source .env
set +a
docker stack deploy --detach=false -c ./core_services/docker-compose.yml {{ stack_name }}
docker stack deploy -c ./core_services/docker-compose.yml {{ stack_name }}
args:
executable: /bin/bash
2 changes: 1 addition & 1 deletion services/game_server/backend/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
SERVER_URL = os.getenv('SERVER_URL', f'http://{HOST}:{PORT}/')
SERVER_ID = os.getenv('SERVER_ID')
SERVER_TOKEN = os.getenv('SERVER_TOKEN')
DEPEND_ON_MATCHMAKING = os.getenv('DEPEND_ON_MATCHMAKING', "1") != "0"
DEPEND_ON_MATCHMAKING = os.getenv('DEPEND_ON_MATCHMAKING', "0") != "0"
CREDENTIALS_FILE = os.getenv('CREDENTIALS_FILE', os.path.join(DATA_DIR, "credentials.json"))

0 comments on commit 362abc6

Please sign in to comment.