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}