# ───────────────────────────────────────────── # BASE CONFIGURATION (Production Defaults) # ───────────────────────────────────────────── spring: application: name: tbp-auth-service profiles: active: dev # Default profile for local startup jpa: open-in-view: true flyway: # Force Flyway to be enabled enabled: true # Create the schema history table if it does not exist baseline-on-migrate: true # Explicitly state where to look for scripts locations: classpath:db/migration mvc: apiversion: use: query-parameter: version default: "1.0" supported: 1.0, 2,0 # Actuator & Micrometer Settings management: endpoints: web: exposure: # Expose health and metrics to the web include: health, prometheus, metrics endpoint: health: show-details: always prometheus: metrics: export: enabled: true # Security stuff security: jwt: secret: ${JWT_SECRET} # Custom properties for CORS app: cors: # Production default: strictly allow only the frontend domain allowed-origins: "https://tbp.andreas-dahm.eu"