72 lines
2.3 KiB
Properties
72 lines
2.3 KiB
Properties
# Application Configuration
|
|
# Values will be injected from pom.xml during build
|
|
quarkus.application.name=${project.artifactId}
|
|
quarkus.application.version=${project.version}
|
|
# Custom properties for groupId if needed
|
|
application.groupId=${project.groupId}
|
|
application.artifactId=${project.artifactId}
|
|
application.version=${project.version}
|
|
|
|
|
|
# HTTP Configuration
|
|
quarkus.http.port=8081
|
|
# ========== DEVELOPMENT (quarkus:dev) ==========
|
|
%dev.quarkus.http.host=127.0.0.1
|
|
# ========== PRODUCTION (Docker/JAR) ==========
|
|
%prod.quarkus.http.host=0.0.0.0
|
|
# ========== TEST PROFILE ==========
|
|
%test.quarkus.http.host=localhost
|
|
|
|
# Enable CORS for frontend development
|
|
quarkus.http.cors=true
|
|
quarkus.http.cors.origins=*
|
|
quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
|
|
quarkus.http.cors.headers=accept,authorization,content-type,x-requested-with
|
|
|
|
# Logging Configuration
|
|
quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n
|
|
quarkus.log.console.level=INFO
|
|
|
|
# Development mode settings
|
|
%dev.quarkus.log.console.level=DEBUG
|
|
%dev.quarkus.live-reload.instrumentation=true
|
|
|
|
# JVM Arguments for native access (Jansi, OpenCV, etc.)
|
|
quarkus.native.additional-build-args=--enable-native-access=ALL-UNNAMED
|
|
|
|
# Production optimizations
|
|
%prod.quarkus.package.type=fast-jar
|
|
%prod.quarkus.http.enable-compression=true
|
|
|
|
# Static resources
|
|
quarkus.http.enable-compression=true
|
|
quarkus.rest.path=/
|
|
quarkus.http.root-path=/
|
|
|
|
# Auction Monitor Configuration
|
|
auction.database.path=C:\\mnt\\okcomputer\\output\\cache.db
|
|
auction.images.path=C:\\mnt\\okcomputer\\output\\images
|
|
auction.notification.config=desktop
|
|
auction.yolo.config=models/yolov4.cfg
|
|
auction.yolo.weights=models/yolov4.weights
|
|
auction.yolo.classes=models/coco.names
|
|
|
|
# Scheduler Configuration
|
|
quarkus.scheduler.enabled=true
|
|
quarkus.scheduler.start-halted=false
|
|
|
|
# Workflow Schedules
|
|
auction.workflow.scraper-import.cron=0 */30 * * * ?
|
|
auction.workflow.image-processing.cron=0 0 * * * ?
|
|
auction.workflow.bid-monitoring.cron=0 */15 * * * ?
|
|
auction.workflow.closing-alerts.cron=0 */5 * * * ?
|
|
|
|
# HTTP Rate Limiting Configuration
|
|
# Prevents overloading external services and getting blocked
|
|
auction.http.rate-limit.default-max-rps=2
|
|
auction.http.rate-limit.troostwijk-max-rps=1
|
|
auction.http.timeout-seconds=30
|
|
|
|
# Health Check Configuration
|
|
quarkus.smallrye-health.root-path=/health
|