Skip to content

Commit 771b9e5

Browse files
committed
Update application.properties
1 parent 05c1bf2 commit 771b9e5

File tree

1 file changed

+40
-10
lines changed

1 file changed

+40
-10
lines changed
Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,54 @@
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
88
default.http.max_content_length=4194304
99
default.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
1617
ssl.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
2123
openai.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+
2331
stability.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

Comments
 (0)