appstore-1panel/apps/onedev/11.5.3/envs/onedev.env
Meng Sen 1165dcd41c 应用标准化
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-11-27 18:40:30 +08:00

30 lines
1.2 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