Update setup.sh
This commit is contained in:
@@ -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! ==="
|
||||||
|
|||||||
Reference in New Issue
Block a user