Servcice mail

This commit is contained in:
Filip Izydorczyk
2020-12-20 16:44:30 +01:00
parent 0d6ad184bc
commit a294ecac37
10 changed files with 126 additions and 9 deletions

View File

@ -9,6 +9,11 @@
"name": "plannaplan.frontendUrl",
"type": "java.lang.String",
"description": "Url where frontend app is located"
},
{
"name": "plannaplan.email",
"type": "java.lang.String",
"description": "Email from which app sends message"
}
]
}

View File

@ -8,7 +8,14 @@ spring.jpa.hibernate.ddl-auto=create-drop
spring.jackson.serialization.fail-on-empty-beans=false
spring.main.allow-bean-definition-overriding=true
spring.jackson.default-property-inclusion = NON_NULL
spring.mail.host=localhost
spring.mail.port=1025
# spring.mail.username=<login user to smtp server>
# spring.mail.password=<login password to smtp server>
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false
logging.level.io.swagger.models.parameters.AbstractSerializableParameter=ERROR
server.port=1285
plannaplan.dev = true
plannaplan.frontendUrl= http://localhost:3000
plannaplan.frontendUrl = http://localhost:3000
plannaplan.email = plannaplan.kontakt@gmail.com

View File

@ -9,13 +9,19 @@ spring.jackson.serialization.fail-on-empty-beans=false
spring.main.allow-bean-definition-overriding=true
spring.jackson.default-property-inclusion = NON_NULL
logging.level.io.swagger.models.parameters.AbstractSerializableParameter=ERROR
spring.mail.host=${PLANNAPLAN_EMAIL_HOST}
spring.mail.port=${PLANNAPLAN_EMAIL_PORT}
spring.mail.username=${PLANNAPLAN_EMAIL_USERNAME}
spring.mail.password=${PLANNAPLAN_EMAIL_PASSWORD}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
server.port=1285
plannaplan.email = ${PLANNAPLAN_EMAIL}
plannaplan.dev = false
plannaplan.frontendUrl= https://wmi.plannaplan.pl
security.require-ssl=true
server.ssl.key-store=/keys/keystore.p12
server.ssl.key-store-password=
server.ssl.keyStoreType=PKCS12
server.ssl.keyAlias=tomcat
server.ssl.keyAlias=tomcat