Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:57:19 +00:00
parent 373a561487
commit 275d5be658
1857 changed files with 56700 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# 端口 [必填]
PANEL_APP_PORT_HTTP=8088
# 数据持久化路径 [必填]
COOKIECLOUD_ROOT_PATH=/home/cookie-cloud
# 网站路径 [必填]
API_ROOT=/
+24
View File
@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 8088
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "/home/cookie-cloud"
edit: true
envKey: COOKIECLOUD_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: "/"
edit: true
envKey: API_ROOT
labelZh: 网站路径
labelEn: Web path
required: true
type: text
@@ -0,0 +1,19 @@
networks:
1panel-network:
external: true
services:
cookie-cloud:
container_name: cookie-cloud
env_file:
- ./envs/global.env
- .env
image: easychen/cookiecloud:latest
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8088
restart: always
volumes:
- ${COOKIECLOUD_ROOT_PATH}/data:/data/api/data
@@ -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,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