Update setup.sh

This commit is contained in:
ilyastar9999
2025-12-02 19:34:54 +03:00
parent 51ba0324ec
commit 4abdfb9651

View File

@@ -306,6 +306,13 @@ start_game_services() {
cd "$SCRIPT_DIR" cd "$SCRIPT_DIR"
} }
# Start infrastructure services (controller, web, telegram bot, scoreboard injector)
start_infrastructure_services() {
echo "Starting infrastructure services..."
docker compose -f "$ROOT_DIR/docker-compose.yaml" up -d --build
echo "Infrastructure services started."
}
# Main setup flow # Main setup flow
main() { main() {
echo "Starting setup process..." echo "Starting setup process..."
@@ -323,6 +330,7 @@ main() {
if [ "$setup_fg" != "n" ]; then if [ "$setup_fg" != "n" ]; then
setup_firegex setup_firegex
fi fi
start_infrastructure_services
start_game_services start_game_services
echo "" echo ""
echo "=== Setup Complete! ===" echo "=== Setup Complete! ==="