#quarkus
Вопрос:
Как мне получить текущее системное «имя хоста» в application.yaml
Т. е. НЕ устанавливайте явно переменную среды в сценарии запуска. Просто получить имя хоста, где бы ни работало приложение.
http: #port: 8080 #insecure-requests: disabled ssl-port: 8043 ssl: certificate: file: ${app.configBasePath}/${env.hostname}/cert.pem #server certificate or certificate chain in PEM format. key-file: ${app.configBasePath}/${env.hostname}/key.pem #ertificate private key file in PEM format. #key-store-file: ${app.configBasePath}/${env.hostname}/keystore.jks #key-store-password: password auth: basic: true ssl: native: true