# SaaS dev profile. Points at the dev Supabase project. # Boot: java -jar stirling-pdf.jar --spring.profiles.include=dev spring.config.import=optional:classpath:application-dev-local.properties app.supabase.project-ref=qacaivhsjtftfwtgjvva stirling.supabase.url=https://qacaivhsjtftfwtgjvva.supabase.co stirling.supabase.publishable-key=sb_publishable_nIM8y-9ARPE7EzQwAQHKMg_40fCN6kY # gitleaks:allow spring.datasource.url=${SAAS_DEV_DB_URL:jdbc:postgresql://db.qacaivhsjtftfwtgjvva.supabase.co:5432/postgres?ApplicationName=stirling-consolidation-${user.name}} spring.datasource.username=${SAAS_DEV_DB_USERNAME:postgres} # Password not committed; export SAAS_DEV_DB_PASSWORD or pass --spring.datasource.password=... spring.datasource.password=${SAAS_DEV_DB_PASSWORD:} # Conservative dev pool sizing. spring.datasource.hikari.maximum-pool-size=2 spring.datasource.hikari.minimum-idle=1 spring.datasource.hikari.idle-timeout=60000 spring.datasource.hikari.max-lifetime=1800000 spring.datasource.hikari.keepalive-time=300000 spring.datasource.hikari.data-source-properties.ApplicationName=stirling-consolidation-${user.name} logging.level.stirling.software.saas=DEBUG logging.level.org.springframework.security.oauth2.jwt=WARN logging.level.org.springframework.security.oauth2.server.resource=WARN # Supabase meter edge fn the Java backend calls (server-to-server, on job close). # URL is not a secret; auth rides the existing SUPABASE_EDGE_FUNCTION_SECRET (same # shared secret the team-invitation flow uses — no service-role key in the Java env). # Blank secret → the meter service no-ops with a WARN, so the app still boots. # The billing portal is NOT here — the FE calls create-customer-portal-session directly. payg.meter.endpoint=https://qacaivhsjtftfwtgjvva.supabase.co/functions/v1/meter-payg-units