Skip to content

Instantly share code, notes, and snippets.

@abhishek-sisodiya
Created August 23, 2019 11:41
Show Gist options
  • Save abhishek-sisodiya/7f3bd0380c7f84cf6adc4b976d243304 to your computer and use it in GitHub Desktop.
Save abhishek-sisodiya/7f3bd0380c7f84cf6adc4b976d243304 to your computer and use it in GitHub Desktop.
server.port=${WEBSITES_PORT}
spring.redis.host=${REDIS_HOST}
spring.redis.port=${REDIS_PORT}
spring.redis.password=${REDIS_PASSWORD}
# Database Connection
jwt.secret=${JWT_SECRET}
spring.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/weathermandb?useSSL=false&requireSSL=false&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.username=${MYSQL_USERNAME}
spring.datasource.password=${MYSQL_PASSWORD}
spring.datasource.platform=mysql
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# spring.jpa.hibernate.ddl-auto=create
spring.jackson.serialization.fail-on-empty-beans=false
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=
spring.mail.password=
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.connectiontimeout=5000
spring.mail.properties.mail.smtp.timeout=5000
spring.mail.properties.mail.smtp.writetimeout=5000
mail.link.expiration.duration=24
spring.thymeleaf.check-template=true
spring.thymeleaf.check-template-location=true
spring.thymeleaf.enabled=true
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment