Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2026-06-09 22:25:00 +00:00
parent f1be09cef1
commit 183f1022f3
207 changed files with 901 additions and 901 deletions
+27
View File
@@ -0,0 +1,27 @@
# 数据持久化路径 [必填]
OPENGIST_ROOT_PATH=/home/opengist
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=6157
# 外部访问地址
OG_EXTERNAL_URL=
# GitHub 客户端密钥
OG_GITHUB_CLIENT_KEY=
# GitHub 密钥
OG_GITHUB_SECRET=
# Gitea 地址
OG_GITEA_URL=https://gitea.com/
# Gitea 名称
OG_GITEA_NAME=Gitea
# Gitea 客户端密钥
OG_GITEA_CLIENT_KEY=
# Gitea 密钥
OG_GITEA_SECRET=
+66
View File
@@ -0,0 +1,66 @@
additionalProperties:
formFields:
- default: "/home/opengist"
edit: true
envKey: OPENGIST_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 6157
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: OG_EXTERNAL_URL
labelZh: 外部访问地址
labelEn: External access URL
required: false
type: text
- default: ""
edit: true
envKey: OG_GITHUB_CLIENT_KEY
labelZh: GitHub 客户端密钥
labelEn: GitHub Client Key
required: false
type: text
- default: ""
edit: true
envKey: OG_GITHUB_SECRET
labelZh: GitHub 密钥
labelEn: GitHub Secret
required: false
type: text
- default: "https://gitea.com/"
edit: true
envKey: OG_GITEA_URL
labelZh: Gitea 地址
labelEn: Gitea URL
required: false
type: text
- default: "Gitea"
edit: true
envKey: OG_GITEA_NAME
labelZh: Gitea 名称
labelEn: Gitea Name
required: false
type: text
- default: ""
edit: true
envKey: OG_GITEA_CLIENT_KEY
labelZh: Gitea 客户端密钥
labelEn: Gitea Client Key
required: false
type: text
- default: ""
edit: true
envKey: OG_GITEA_SECRET
labelZh: Gitea 密钥
labelEn: Gitea Secret
required: false
type: text
@@ -0,0 +1,33 @@
networks:
1panel-network:
external: true
services:
opengist:
container_name: opengist
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- OG_SQLITE_JOURNAL_MODE=WAL
- OG_HTTP_HOST=0.0.0.0
- OG_HTTP_PORT=6157
- OG_SSH_HOST=0.0.0.0
- OG_SSH_PORT=2222
healthcheck:
interval: 30s
retries: 3
test:
- CMD-SHELL
- curl -f http://localhost:6157/healthcheck
timeout: 10s
image: thomiceli/opengist:1.13.1
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6157
restart: always
volumes:
- ${OPENGIST_ROOT_PATH}/.opengist:/opengist
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi