Server-Port über SERVER_PORT aus der .env konfigurierbar
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,3 +3,6 @@
|
||||
|
||||
# MongoDB-Verbindung fuer die Rechnungstemplates
|
||||
MONGODB_URI=mongodb://BENUTZER:PASSWORT@localhost:27017/pdf-tool?authSource=admin
|
||||
|
||||
# HTTP-Port der Anwendung (Standard: 8083)
|
||||
SERVER_PORT=8083
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
spring.application.name=pdf-tool
|
||||
server.port=8083
|
||||
server.port=${SERVER_PORT:8083}
|
||||
|
||||
# Wird beim Build durch die Version aus der pom.xml ersetzt (Resource-Filtering)
|
||||
pdftool.version=@project.version@
|
||||
|
||||
Reference in New Issue
Block a user