feat(web): java from python
This commit is contained in:
15
backend/src/main/resources/application.properties
Normal file
15
backend/src/main/resources/application.properties
Normal file
@@ -0,0 +1,15 @@
|
||||
spring.application.name=backend
|
||||
server.port=8080
|
||||
|
||||
# Slicer Configuration
|
||||
# Map SLICER_PATH env var if present (default to /opt/orcaslicer/AppRun or Mac path)
|
||||
slicer.path=${SLICER_PATH:/Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer}
|
||||
profiles.root=${PROFILES_DIR:profiles}
|
||||
|
||||
# Pricing Configuration
|
||||
# Mapped to legacy environment variables for Docker compatibility
|
||||
pricing.filament-cost-per-kg=${FILAMENT_COST_PER_KG:25.0}
|
||||
pricing.machine-cost-per-hour=${MACHINE_COST_PER_HOUR:2.0}
|
||||
pricing.energy-cost-per-kwh=${ENERGY_COST_PER_KWH:0.30}
|
||||
pricing.printer-power-watts=${PRINTER_POWER_WATTS:150.0}
|
||||
pricing.markup-percent=${MARKUP_PERCENT:20.0}
|
||||
Reference in New Issue
Block a user