Files
meldestelle/backend/services/mail/mail-service/src/main/resources/application.yaml
T
stefan 0aaa160b95
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 5m47s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 3m53s
### fix: 40 aktualisiere SMTP-Port und erweitere Timeout-Parameter
- **.env:** SMTP-Port auf `587` geändert.
- **application.yaml:** Timeout-Parameter (`connectiontimeout`, `timeout`, `writetimeout`) hinzugefügt.
- **MailServiceApplication:** Logging um SMTP-Timeout ergänzt.
- **WebMainScreen:** Versionsmarker auf `v2026-04-23.40 - SMTP PORT FORCE` aktualisiert.
2026-04-23 20:14:45 +02:00

62 lines
1.7 KiB
YAML

spring:
application:
name: mail-service
datasource:
url: ${SPRING_DATASOURCE_URL:jdbc:h2:mem:maildb;DB_CLOSE_DELAY=-1}
driver-class-name: ${SPRING_DATASOURCE_DRIVER_CLASS_NAME:org.h2.Driver}
username: ${SPRING_DATASOURCE_USERNAME:sa}
password: ${SPRING_DATASOURCE_PASSWORD:""}
jpa:
hibernate:
ddl-auto: update
show-sql: true
mail:
host: ${SPRING_MAIL_HOST:smtp.world4you.com}
port: 587
username: ${SPRING_MAIL_USERNAME:online-nennen@mo-code.at}
password: ${SPRING_MAIL_PASSWORD:Mogi#2reiten}
properties:
mail:
smtp:
auth: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH:true}
connectiontimeout: 5000
timeout: 5000
writetimeout: 5000
starttls:
enable: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE:true}
required: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_REQUIRED:true}
cloud:
consul:
host: ${SPRING_CLOUD_CONSUL_HOST:localhost}
port: ${SPRING_CLOUD_CONSUL_PORT:8500}
enabled: ${SPRING_CLOUD_CONSUL_ENABLED:false}
discovery:
enabled: ${SPRING_CLOUD_CONSUL_DISCOVERY_ENABLED:false}
register: ${SPRING_CLOUD_CONSUL_DISCOVERY_REGISTER:false}
prefer-ip-address: true
health-check-path: /actuator/health
health-check-interval: 10s
health-check-port: 8092
instance-id: ${spring.application.name}:${server.port}:${random.uuid}
service-name: ${spring.application.name}
server:
port: 8092
management:
endpoints:
web:
exposure:
include: health,info,prometheus
endpoint:
health:
show-details: always
probes:
enabled: true
# Feature-Flags
mail:
polling:
enabled: ${MAIL_POLLING_ENABLED:false}