提交合并

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-17 16:30:13 +08:00
committed by qyg2297248353
commit 6c18fe434d
449 changed files with 21391 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: "/home/bark"
edit: true
envKey: BARK_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: BARK_SERVER_DSN
labelEn: Database URL
labelZh: 数据库链接
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_USER
labelEn: Basic Auth User
labelZh: 用户名 (服务基础验证)
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_PASSWORD
labelEn: Basic Auth Password
labelZh: 密码 (服务基础验证)
required: false
type: text
+27
View File
@@ -0,0 +1,27 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
bark:
image: finab/bark-server:v2.1.5
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${BARK_ROOT_PATH}/data:/data
environment:
- BARK_SERVER_ADDRESS=0.0.0.0:8080
- BARK_SERVER_URL_PREFIX=/
- BARK_SERVER_DATA_DIR=/data
- BARK_SERVER_SERVERLESS=false
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi