33 lines
1.5 KiB
Properties
33 lines
1.5 KiB
Properties
spring.application.name=backend
|
|
spring.datasource.url=jdbc:postgresql://localhost:5432/sumoc
|
|
spring.datasource.username=postgres
|
|
spring.datasource.password=admin
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
spring.jpa.hibernate.ddl-auto=create
|
|
spring.jpa.show-sql=true
|
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
logging.level.org.springframework.security=Trace
|
|
springdoc.api-docs.path=/v3/api-docs
|
|
springdoc.swagger-ui.path=/swagger-ui.html
|
|
spring.profiles.active=dev
|
|
spring.jackson.serialization.write-dates-as-timestamps=false
|
|
# Rhythm settings for scheduled tasks
|
|
sumoc.scheduling.run-notification-worker=*/15 * * * * *
|
|
sumoc.scheduling.notify-weekly-mobility-stats=1 30 0 * * 1
|
|
sumoc.scheduling.clean-up-old-notifications=0 0 3 * * *
|
|
sumoc.scheduling.notify-regular-route-alternatives=0 0 4 * * *
|
|
# Trend detection settings
|
|
sumoc.trenddetection.positive-threshold=-25.0
|
|
sumoc.trenddetection.negative-threshold=-25.0
|
|
# FireBase
|
|
firebase.config.enabled=false
|
|
firebase.config.service-account=classpath:fcm-key.json
|
|
# Base URL to external services
|
|
carta.base-url=https://www.innamoruhr.de/c2
|
|
# Geocoding configuration
|
|
geocoding.provider=carta
|
|
geocoding.nominatim.base-url=http://localhost:6666
|
|
geocoding.carta.base-url=https://mobydex.locoslab.com/carta
|
|
meteo.base-url=https://api.open-meteo.com/v1
|
|
# Dev debug settings
|
|
sumoc.dev.fcm-key=dmydW4a_RjKCDjcBLZ9Kl8:APA91bFjBIjw8NcjeMIsNkfPuW9jhMlK3n_LHoG5UBW0E_76nTp1yV6jkdiBIvle7Txj_mLY3W9e9gy_op6YWyxJksqZrJFgapruCdBdg9ACYDJAANGTWJk |