appstore-1panel/envs/onedev/onedev.env
Meng Sen 6c18fe434d 提交合并
Signed-off-by: 萌森 <qyg2297248353@163.com>
2024-07-17 16:30:13 +08:00

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