#!/bin/bash

if [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]] || [[ -n "$WINDIR" ]]; then
    # Windows (Git Bash, WSL, etc.)
    cross-env NODE_ENV=development docker compose up -d
else
    # Linux/macOS
    NODE_ENV=development USER_ID="$(id -u)" USER_GROUP_ID="$(id -g)" docker compose up -d
fi
