---
# Example values for development/lab deployment
# Copy to values-dev.yaml and customize

global:
  domain: lab.local

postgres:
  enabled: true
  replicas: 1
  persistence:
    enabled: true
    size: 5Gi
    storageClass: ""  # Use default storage class
  credentials:
    username: dating_app_user
    password: Aa123456
    database: dating_app

backend:
  image:
    repository: dating-app-backend
    tag: latest
    pullPolicy: IfNotPresent
  replicas: 1
  resources:
    requests:
      memory: "256Mi"
      cpu: "100m"
    limits:
      memory: "512Mi"
      cpu: "500m"
  service:
    port: 8000
    type: ClusterIP
  ingress:
    enabled: true
    className: nginx
    host: api.lab.local
    path: /
    pathType: Prefix
  environment:
    JWT_SECRET: dev-secret-key-change-in-production
    JWT_EXPIRES_MINUTES: "1440"
    MEDIA_DIR: /app/media
    CORS_ORIGINS: "http://localhost:5173,http://localhost:3000,http://api.lab.local,http://app.lab.local"
  persistence:
    enabled: true
    size: 5Gi
    storageClass: ""

frontend:
  image:
    repository: dating-app-frontend
    tag: latest
    pullPolicy: IfNotPresent
  replicas: 1
  resources:
    requests:
      memory: "128Mi"
      cpu: "50m"
    limits:
      memory: "256Mi"
      cpu: "200m"
  service:
    port: 80
    type: ClusterIP
  ingress:
    enabled: true
    className: nginx
    host: app.lab.local
    path: /
    pathType: Prefix
  environment:
    VITE_API_URL: "http://api.lab.local"

ingress:
  enabled: true
  className: nginx
  annotations: {}
