# Configuração específica para ambiente da Guiné-Bissau

spring:
  datasource:
    url: ${DATABASE_URL:jdbc:postgresql://localhost:5432/sigefp_gw}
    username: ${DATABASE_USERNAME:sigefp_gw}
    password: ${DATABASE_PASSWORD}
    hikari:
      maximum-pool-size: 20
      minimum-idle: 10

  jpa:
    hibernate:
      ddl-auto: validate
    show-sql: false
    properties:
      hibernate:
        jdbc:
          time_zone: Africa/Bissau

  jackson:
    serialization:
      write-dates-as-timestamps: false
    time-zone: Africa/Bissau
    locale: pt_GW

server:
  port: ${SERVER_PORT:8080}

# Configurações específicas para Guiné-Bissau
guinea-bissau:
  country:
    code: GW
    name: Guiné-Bissau
  currency:
    code: XOF
    symbol: FCFA
  timezone: Africa/Bissau
  locale: pt_GW
  phone-code: "+245"
  date-format: "dd/MM/yyyy"
  datetime-format: "dd/MM/yyyy HH:mm"

logging:
  level:
    root: INFO
    br.gov.sigefp: INFO
  pattern:
    console: "%d{dd/MM/yyyy HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
    file: "%d{dd/MM/yyyy HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"


