28 lines
854 B
Properties
28 lines
854 B
Properties
# ===== SERVER =====
|
|
server.port=8080
|
|
|
|
# ===== POSTGRESQL CONNECTION =====
|
|
spring.datasource.url=jdbc:postgresql://202.46.28.160:2002/uas_5803024001
|
|
spring.datasource.username=5803024001
|
|
spring.datasource.password=pw5803024001
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
|
# ===== JPA / HIBERNATE =====
|
|
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
|
|
spring.jpa.hibernate.ddl-auto=validate
|
|
spring.jpa.show-sql=true
|
|
spring.jpa.properties.hibernate.format_sql=true
|
|
|
|
# ===== FLYWAY =====
|
|
spring.flyway.enabled=true
|
|
spring.flyway.locations=classpath:db/migration
|
|
spring.flyway.baseline-on-migrate=true
|
|
|
|
# ===== JWT =====
|
|
jwt.secret=404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970
|
|
jwt.expiration=86400000
|
|
|
|
# ===== SWAGGER =====
|
|
springdoc.swagger-ui.path=/swagger-ui.html
|
|
springdoc.api-docs.path=/v3/api-docs
|