You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
887 B
32 lines
887 B
#
|
|
# Application YML is used in production, filed under /BOOT-INF/classes.
|
|
# application.properties in the project root (working dir)
|
|
# is used in test.
|
|
#
|
|
# application config in execution current directory or ./config
|
|
# have higher precedence, and the command line is ultimate:
|
|
#
|
|
# https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/boot-features-external-config.html
|
|
#
|
|
spring:
|
|
datasource:
|
|
#url: jdbc:sqlite:${home}/recipes.db
|
|
url: jdbc:mysql:dbase/recipes
|
|
# options: ${env} values
|
|
driverClassName: org.mysql.jdbc.Driver
|
|
username: recipes
|
|
password: yumyumyum
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: none
|
|
#database-platform: org.sqlite.hibernate.dialect.SQLiteDialect
|
|
database-platform: org.hibernate.dialect.MySQLDialect
|
|
|
|
server:
|
|
servlet:
|
|
session:
|
|
timeout: '30m'
|
|
|
|
gourmet:
|
|
password:
|
|
file: .gourmetpw
|
|
|