-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
29 lines (23 loc) · 992 Bytes
/
Copy pathapplication.properties
File metadata and controls
29 lines (23 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
spring.application.name=powersync
server.port=5050
# PostgreSQL Database Configuration
spring.datasource.url=jdbc:postgresql://localhost:4321/postgres
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driver-class-name=org.postgresql.Driver
# JPA/Hibernate Configuration
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
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
# Liquibase Configuration
spring.liquibase.enabled=true
spring.liquibase.change-log=classpath:db/changelog/db.changelog-master.yaml
# Enable JPA Auditing
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=false
# JWT Configuration
jwt.secret=YourSuperSecretKeyForHS512MustBeAtLeast64BytesLongForSecurityPurposes123456789
# 1 hour in milliseconds | JWT must expire in 60 minutes or less
jwt.expiration=3600000
jwt.audience=powersync-dev