-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication-bench.properties
More file actions
53 lines (45 loc) · 1.87 KB
/
Copy pathapplication-bench.properties
File metadata and controls
53 lines (45 loc) · 1.87 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Database Configuration
spring.datasource.url=${SPRING_DATASOURCE_URL}
spring.datasource.username=${SPRING_DATASOURCE_USERNAME}
spring.datasource.password=${SPRING_DATASOURCE_PASSWORD}
spring.datasource.driver-class-name=${SPRING_DATASOURCE_DRIVER_CLASS_NAME:com.mysql.cj.jdbc.Driver}
# JPA / Hibernate
spring.jpa.database=mysql
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=false
# Flyway
spring.flyway.enabled=true
spring.flyway.baseline-on-migrate=false
# JWT Configuration
jwt.secret.key=${JWT_SECRET_KEY}
jwt.access.expiration=${JWT_ACCESS_EXPIRATION:3600000}
jwt.refresh.expiration=${JWT_REFRESH_EXPIRATION:1209600000}
jwt.access.header=${JWT_ACCESS_HEADER:Authorization}
jwt.refresh.header=${JWT_REFRESH_HEADER:Authorization-refresh}
# OAuth
google.web.client-id=${GOOGLE_WEB_CLIENT_ID:bench-google-web-client-id}
google.app.client-id=${GOOGLE_APP_CLIENT_ID:bench-google-app-client-id}
apple.client.id=${APPLE_CLIENT_ID}
apple.team.id=${APPLE_TEAM_ID}
apple.login.key=${APPLE_LOGIN_KEY}
apple.client.secret=${APPLE_CLIENT_SECRET:}
apple.private-key.base64=${APPLE_PRIVATE_KEY_BASE64}
apple.keys-url=${APPLE_KEYS_URL:https://appleid.apple.com/auth/keys}
apple.token-url=${APPLE_TOKEN_URL:https://appleid.apple.com/auth/token}
# Firebase
firebase.credentials.base64=${FIREBASE_CREDENTIALS_BASE64:}
# Logging
logging.level.root=WARN
logging.level.devkor.ontime_back=INFO
# Feature flags
feature.apple-login.enabled=true
analytics.preference.default-enabled=${ANALYTICS_PREFERENCE_DEFAULT_ENABLED:false}
# Actuator
management.endpoint.health.probes.enabled=true
management.endpoints.web.exposure.include=health
management.health.readinessstate.enabled=true
management.health.livenessstate.enabled=true
server.shutdown=graceful
spring.lifecycle.timeout-per-shutdown-phase=30s