Server-Port über SERVER_PORT aus der .env konfigurierbar

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-10 11:24:26 +02:00
parent d3682e5340
commit 6a373d835c
2 changed files with 4 additions and 1 deletions

View File

@@ -3,3 +3,6 @@
# MongoDB-Verbindung fuer die Rechnungstemplates # MongoDB-Verbindung fuer die Rechnungstemplates
MONGODB_URI=mongodb://BENUTZER:PASSWORT@localhost:27017/pdf-tool?authSource=admin MONGODB_URI=mongodb://BENUTZER:PASSWORT@localhost:27017/pdf-tool?authSource=admin
# HTTP-Port der Anwendung (Standard: 8083)
SERVER_PORT=8083

View File

@@ -1,5 +1,5 @@
spring.application.name=pdf-tool 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) # Wird beim Build durch die Version aus der pom.xml ersetzt (Resource-Filtering)
pdftool.version=@project.version@ pdftool.version=@project.version@