# Development: Add debug binaries to PATH
export PATH="$PWD/target/debug:$PATH"

# Database connection (used by SQLX and Rise backend)
export DATABASE_URL="postgres://rise:rise123@localhost:5432/rise"

# Rise-specific configuration
export RISE_CONFIG_RUN_MODE="development"
export RISE_MANAGED_BUILDKIT="true"
export RISE_MANAGED_BUILDKIT_NETWORK_NAME="rise_default"
export RISE_MANAGED_BUILDKIT_INSECURE_REGISTRIES="rise-registry:5000,localhost:5000,127.0.0.1:5000"

if which mise >/dev/null; then
    mise install
    watch_file mise.toml
    . <(mise activate)
fi
