# ===================================================
# Profile: dev (development lokal)
# Aktifkan dengan: --spring.profiles.active=dev
# atau set env: SPRING_PROFILES_ACTIVE=dev
# ===================================================

spring:
  datasource:
    url: ${DB_URL:jdbc:postgresql://202.46.28.160:2002/uas_5803024001}
    username: ${DB_USERNAME:5803024001}
    password: ${DB_PASSWORD:pw5803024001}

  jpa:
    show-sql: true
    properties:
      hibernate:
        format_sql: true

jwt:
  secret: ${JWT_SECRET:404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970}
  expiration: 86400000

agora:
  app-id: ${AGORA_APP_ID:}
  app-certificate: ${AGORA_APP_CERTIFICATE:}

logging:
  level:
    com.walkguide: DEBUG
    org.springframework.messaging: DEBUG
    org.springframework.web.socket: DEBUG