mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# 数据持久化路径 [必填]
|
||||
ONEDEV_ROOT_PATH=/home/onedev
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=6610
|
||||
|
||||
# SSH 端口 [必填]
|
||||
PANEL_APP_PORT_SSH=6611
|
||||
|
||||
# 管理员帐户
|
||||
INITIAL_USER=root
|
||||
|
||||
# 管理员密码
|
||||
INITIAL_PASSWORD=
|
||||
|
||||
# 管理员电子邮件
|
||||
INITIAL_EMAIL=
|
||||
|
||||
# 服务端地址
|
||||
INITIAL_SERVER_URL=
|
||||
|
||||
# SSH 服务端地址
|
||||
INITIAL_SSH_ROOT_URL=
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
onedev:
|
||||
container_name: onedev
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- ./envs/onedev.env
|
||||
- .env
|
||||
environment:
|
||||
- initial_user=${INITIAL_USER}
|
||||
- initial_password=${INITIAL_PASSWORD}
|
||||
- initial_email=${INITIAL_EMAIL}
|
||||
- initial_server_url=${INITIAL_SERVER_URL}
|
||||
- initial_ssh_root_url=${INITIAL_SSH_ROOT_URL}
|
||||
image: 1dev/server:11.5.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:6610
|
||||
- ${PANEL_APP_PORT_SSH}:6611
|
||||
restart: always
|
||||
volumes:
|
||||
- ${ONEDEV_ROOT_PATH}/data:/opt/onedev
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -0,0 +1,29 @@
|
||||
# 外部数据库支持配置
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user