mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 03:18:48 +08:00
30 lines
1.3 KiB
Bash
30 lines
1.3 KiB
Bash
|
# 外部数据库支持配置
|
||
|
|
||
|
# PostgreSQL
|
||
|
# hibernate_dialect=io.onedev.server.persistence.PostgreSQLDialect
|
||
|
# hibernate_connection_driver_class=org.postgresql.Driver
|
||
|
# hibernate_connection_url=jdbc:postgresql://localhost:5432/onedev
|
||
|
# hibernate_connection_username=postgres
|
||
|
# hibernate_connection_password=postgres
|
||
|
|
||
|
# MySQL
|
||
|
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
|
||
|
# hibernate_connection_driver_class=com.mysql.cj.jdbc.Driver
|
||
|
# hibernate_connection_url=jdbc:mysql://localhost:3306/onedev?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&disableMariaDbDriver=true
|
||
|
# hibernate_connection_username=root
|
||
|
# hibernate_connection_password=root
|
||
|
|
||
|
# MariaDB
|
||
|
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
|
||
|
# hibernate_connection_driver_class=org.mariadb.jdbc.Driver
|
||
|
# hibernate_connection_url=jdbc:mariadb://localhost:3306/onedev
|
||
|
# hibernate_connection_username=root
|
||
|
# hibernate_connection_password=root
|
||
|
|
||
|
# MS SQL Server
|
||
|
# hibernate_dialect=org.hibernate.dialect.SQLServer2012Dialect
|
||
|
# hibernate_connection_driver_class=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||
|
# hibernate_connection_url=jdbc:sqlserver://localhost:1433;databaseName=onedev
|
||
|
# hibernate_connection_username=sa
|
||
|
# hibernate_connection_password=sa
|