106 lines
3.8 KiB
Properties
106 lines
3.8 KiB
Properties
server.port=${PORT:8080}
|
|
server.address=0.0.0.0
|
|
|
|
# Default active profile
|
|
spring.profiles.active=dev
|
|
|
|
# Logging configuration
|
|
logging.level.org.atmosphere=warn
|
|
logging.level.de.assecutor.votianlt=INFO
|
|
logging.level.de.assecutor.votianlt.controller.MessageController=DEBUG
|
|
logging.level.de.assecutor.votianlt.config.MongoConfig=DEBUG
|
|
|
|
# File logging configuration
|
|
logging.file.name=logs/votianlt.log
|
|
logging.logback.rollingpolicy.max-file-size=10MB
|
|
logging.logback.rollingpolicy.max-history=30
|
|
logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
|
logging.pattern.console=%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
|
spring.mustache.check-template-location=false
|
|
|
|
# Launch the default browser when starting the application in development mode
|
|
vaadin.launch-browser=true
|
|
# Disable Vaadin Copilot to avoid NullPointerException in dev mode
|
|
vaadin.copilot.enabled=false
|
|
# To improve the performance during development.
|
|
# For more information https://vaadin.com/docs/latest/flow/integrations/spring/configuration#special-configuration-parameters
|
|
vaadin.allowed-packages=com.vaadin,org.vaadin,de.assecutor.votianlt
|
|
|
|
# Open-in-view is only needed if you use lazy-loaded entities in your Flow views.
|
|
spring.jpa.open-in-view=false
|
|
|
|
# MongoDB - Default configuration (override in profile-specific files)
|
|
spring.data.mongodb.uri=mongodb://192.168.180.25:27017/votianlt_dev
|
|
spring.data.mongodb.auto-index-creation=true
|
|
spring.data.mongodb.socket-timeout=30000
|
|
spring.data.mongodb.connect-timeout=10000
|
|
spring.data.mongodb.server-selection-timeout=5000
|
|
|
|
# Mail Configuration (Spring Boot Standard)
|
|
spring.mail.host=mailhub.assecutor.org
|
|
spring.mail.port=587
|
|
spring.mail.username=noreply@assecutor.org
|
|
spring.mail.password=OStRIL,_,31
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
|
|
|
# HTTP request size limits for large payloads
|
|
server.max-http-request-header-size=8MB
|
|
# Tomcat connector limits
|
|
server.tomcat.max-http-form-post-size=64MB
|
|
server.tomcat.max-save-post-size=64MB
|
|
server.tomcat.max-swallow-size=64MB
|
|
# Multipart upload limits for photo HTTP uploads
|
|
spring.servlet.multipart.max-file-size=32MB
|
|
spring.servlet.multipart.max-request-size=64MB
|
|
# Jackson message converter limits
|
|
spring.jackson.default-property-inclusion=non_null
|
|
|
|
# 2FA Configuration (global toggle - individual users can disable in their profile)
|
|
app.security.two-factor.enabled=true
|
|
|
|
# Message Delivery Layer Configuration
|
|
app.messaging.delivery.max-retries=3
|
|
app.messaging.delivery.retry-initial-delay=5s
|
|
app.messaging.delivery.retry-max-delay=5m
|
|
app.messaging.delivery.retry-backoff-multiplier=2.0
|
|
app.messaging.delivery.ack-timeout=30s
|
|
app.messaging.delivery.message-expiry=24h
|
|
app.messaging.delivery.cleanup-interval-minutes=60
|
|
app.messaging.delivery.retry-interval-seconds=30
|
|
app.messaging.delivery.acknowledged-retention-days=7
|
|
app.messaging.delivery.ack-retry-interval-seconds=5
|
|
app.messaging.delivery.ack-max-retries=4
|
|
|
|
# Messaging Plugin Configuration
|
|
app.messaging.plugin.type=mqtt
|
|
app.messaging.plugin.mqtt.broker.host=mqtt-2.assecutor.de
|
|
app.messaging.plugin.mqtt.broker.port=42099
|
|
app.messaging.plugin.mqtt.username=app
|
|
app.messaging.plugin.mqtt.password=apppwd
|
|
app.messaging.plugin.mqtt.client.id=votianlt-server
|
|
|
|
# Client Connection Monitoring (Ping/Pong)
|
|
# Server sends ping to: /client/{clientId}/ping
|
|
# Client responds to: /server/{clientId}/pong
|
|
#
|
|
# Ping JSON (Server -> Client):
|
|
# {
|
|
# "type": "ping",
|
|
# "timestamp": 1702835000000
|
|
# }
|
|
#
|
|
# Pong JSON (Client -> Server):
|
|
# {
|
|
# "type": "pong",
|
|
# "timestamp": 1702835000000
|
|
# }
|
|
#
|
|
app.client.ping.interval-seconds=15
|
|
app.client.ping.timeout-seconds=5
|
|
|
|
# Application Version - automatically set from pom.xml during build
|
|
app.version=@project.version@
|
|
|
|
# Google Maps API Key
|
|
app.google.maps.api-key=AIzaSyDnbitL06iLp3elmj-WtPudCykX9xvXcVE |