update
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
# Server Port
|
||||
# ===== SERVER =====
|
||||
server.port=8080
|
||||
|
||||
# === KONEKSI H2 VIRTUAL (GAK PAKE PASSWORD) ===
|
||||
spring.datasource.url=jdbc:h2:mem:walkguidedb
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=
|
||||
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
|
||||
# ===== 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
|
||||
|
||||
# Biar Spring Boot otomatis bikin tabel
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
# ===== 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
|
||||
|
||||
# JWT Configuration
|
||||
jwt.secret=WalkGuideSecretKeyYangSangatPanjangMinimal256BitUntukKeamananWalkGuide
|
||||
jwt.expiration=86400000
|
||||
# ===== 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
|
||||
|
||||
Reference in New Issue
Block a user