更新服务端h2数据库默认存放路径

This commit is contained in:
aoshiguchen
2023-10-25 11:28:35 +08:00
parent 4dd23134e4
commit 49b4006f1b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -57,5 +57,6 @@ hs_err_pid*
neutrino-proxy-vuepress/deploy.sh
.NEUTRINO_PROXY_CLIENT_ID
logs
data
**/cert/**
neutrino-proxy-server/src/main/resources/static/**
@@ -77,7 +77,7 @@ neutrino:
# 数据库类型,目前支持h2、mysql、mariadb
type: ${DB_TYPE:h2}
# 数据库连接URL
url: ${DB_URL:jdbc:h2:file:~/.neutrino-proxy/data/db;MODE=MySQL;AUTO_SERVER=TRUE}
url: ${DB_URL:jdbc:h2:file:./data/db;MODE=MySQL;AUTO_SERVER=TRUE}
# 数据库用户名
username: ${DB_USER:}
# 数据库密码