spring:
config:
activate:
on-profile: prod, stag
jpa:
hibernate:
ddl-auto: update
show-sql: true
database: postgresql
database-platform: org.hibernate.dialect.PostgreSQLDialect
main:
lazy-initialization: true
jmx:
enabled: false
application:
name: timesheet-service
server:
servlet:
context-path: /v1/timesheet/
application:
security:
jwt:
secret-key: 404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970
expiration: 604800000 # 86400000 # a day
refresh-token:
expiration: 604800000 # 7 days
---
spring:
config:
activate:
on-profile: stag
datasource:
url: jdbc:postgresql://localhost:5432/stage_hr_timesheet-service?createDatabaseIfNotExist=true
username: postgres
password: benganteng123
driver-class-name: org.postgresql.Driver
rabbitmq:
host: localhost
port: 15672
username: guest
password: guest
server:
port: 6969
---
spring:
config:
activate:
on-profile: prod
datasource:
url: jdbc:postgresql://prod_postgresql:5432/humanresources?currentSchema=timesheet
username: postgres
password: 18deWcukjjk31ALTmLMsvY
driver-class-name: org.postgresql.Driver