mirror of https://github.com/bvn13/JIrcBot.git
38 lines
1.1 KiB
Properties
38 lines
1.1 KiB
Properties
|
|
name=jircbot
|
|
bot.version=@bot.version@
|
|
|
|
config=config.json
|
|
|
|
spring.profiles.active=production
|
|
|
|
spring.banner.location=banner.txt
|
|
|
|
server.port=8002
|
|
server.address=127.0.0.1
|
|
|
|
# for PostgreSQL
|
|
spring.datasource.driverClassName=org.postgresql.Driver
|
|
spring.datasource.url=jdbc:postgresql://localhost:5432/jircbot
|
|
spring.datasource.username=jircbot
|
|
spring.datasource.password=jircbotpass
|
|
# for MySQL
|
|
#spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
|
#spring.datasource.url=jdbc:mysql://localhost:3306/jircbot
|
|
#spring.datasource.username=jircbot
|
|
#spring.datasource.password=jircbotpass
|
|
|
|
# for PostgreSQL
|
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
# for MySQL
|
|
#spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.mysql.MySQLSpatialDialect
|
|
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
spring.jpa.show-sql=false
|
|
spring.jpa.properties.hibernate.use_sql_comments=true
|
|
spring.jpa.properties.hibernate.format_sql=true
|
|
|
|
#hot restart
|
|
#spring.devtools.restart.additional-paths=resources/
|
|
spring.devtools.restart.additional-exclude=templates/**
|