11# support h2, MySQL, sqlite, SQLServer.
22# h2
3- driver = org.h2.Driver
4- database.url = jdbc:h2:~/test
5- database.user =
6- database.password =
7- database.connections.max = 10
3+ driver = org.sqlite.JDBC
4+ database.url = jdbc:sqlite:src/main/resources/smalltalk.db
5+ database.user =
6+ database.password =
7+ database.connections.max = 1
88default.http.max_content_length =4194304
99default.home.page =talk
10+ default.file.encoding =utf-8
1011
1112# redis.host=127.0.0.1
1213# redis.port=6379
1314# redis.password=*******
1415
15- default.import.applications =custom.application.v1.smalltalk;
16+ default.import.applications =custom.application.v1.smalltalk; custom.application.v1.libraries;custom.application.v1.settings;custom.application.v1.management;custom.application.v1.plantuml
1617ssl.enabled =false
1718
18- # ChatGPT configuration
19- default.chat.engine =ChatGPT
20- openai.api_endpoint =https://openrouter.ai/api
19+ # OpenAI API Configuration
20+ # IMPORTANT: Replace with your actual OpenAI API key from https://platform.openai.com/api-keys
21+ # The application will not work until you set a valid API key
22+ # You can set it as an environment variable $_OPENAI_API_KEY or replace this line with your key
2123openai.api_key =$_OPENAI_API_KEY
2224
25+ # OpenAI API endpoint - usually doesn't need to be changed
26+ openai.api_endpoint =https://api.openai.com
27+
28+ # Default chat model to use
29+ default.chat.engine =gpt-4o-mini
30+
2331stability.host =https://api.stability.ai
24- stability.api_key =$_STABILITY_API_KEY
32+ stability.api_key =$_STABILITY_API_KEY
33+
34+ # File upload configuration
35+ file.upload.encryption.enabled =false
36+
37+ # Email Configuration
38+ [mail]
39+ mail.smtp.host =$_SMTP_HOST
40+ mail.pop3.host =
41+ mail.smtp.port =$_SMTP_PORT
42+ mail.ssl.on =$_MAIL_SSL_ON
43+ mail.pop3.port =25
44+ mail.smtp.auth =true
45+ mail.pop3.auth =true
46+ smtp.auth.user =$_SMTP_USER
47+ smtp.auth.pwd =$_SMTP_USER_PASSWORD
48+
49+
50+ # logging.properties
51+ logging.override = !TRUE
52+ logging.level =DEBUG
53+ logging.enabled =FALSE
54+ handlers = java.util.logging.ConsoleHandler
0 commit comments