feat:添加bark到列表

This commit is contained in:
okxlin 2024-08-07 23:35:19 +08:00
parent 738ab7b09b
commit 5fd0b56546
9 changed files with 444 additions and 0 deletions

View File

@ -0,0 +1,20 @@
BARK_SERVER_ADDRESS="0.0.0.0"
BARK_SERVER_BASIC_AUTH_PASSWORD=""
BARK_SERVER_BASIC_AUTH_USER=""
BARK_SERVER_CASE_SENSITIVE="false"
BARK_SERVER_CERT=""
BARK_SERVER_CONCURRENCY=262144
BARK_SERVER_DATA_DIR="/data"
BARK_SERVER_DSN=""
BARK_SERVER_IDLE_TIMEOUT="10s"
BARK_SERVER_KEY=""
BARK_SERVER_PROXY_HEADER=""
BARK_SERVER_READ_TIMEOUT="3s"
BARK_SERVER_REDUCE_MEMORY_USAGE="false"
BARK_SERVER_SERVERLESS="false"
BARK_SERVER_STRICT_ROUTING="false"
BARK_SERVER_URL_PREFIX="/"
BARK_SERVER_WRITE_TIMEOUT="3s"
CONTAINER_NAME="bark"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP=40280

156
apps/bark/2.1.5/data.yml Normal file
View File

@ -0,0 +1,156 @@
additionalProperties:
formFields:
- default: "40280"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "0.0.0.0"
disabled: true
envKey: BARK_SERVER_ADDRESS
labelEn: Bark Server Address
labelZh: Bark 服务器地址
required: true
type: text
- default: "/"
edit: true
envKey: BARK_SERVER_URL_PREFIX
labelEn: Bark Server URL Prefix
labelZh: Bark 服务器 URL 前缀
required: true
type: text
- default: "/data"
disabled: true
envKey: BARK_SERVER_DATA_DIR
labelEn: Bark Server Data Directory
labelZh: Bark 服务器数据目录
required: true
type: text
- default: ""
edit: true
envKey: BARK_SERVER_DSN
labelEn: Bark Server DSN
labelZh: Bark 服务器 DSN
required: false
type: text
- default: "false"
edit: true
envKey: BARK_SERVER_SERVERLESS
labelEn: Bark Server Serverless
labelZh: Bark 服务器无服务器
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: ""
edit: true
envKey: BARK_SERVER_CERT
labelEn: Bark Server Certificate
labelZh: Bark 服务器证书
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_KEY
labelEn: Bark Server Key
labelZh: Bark 服务器密钥
required: false
type: text
- default: "false"
edit: true
envKey: BARK_SERVER_CASE_SENSITIVE
labelEn: Bark Server Case Sensitive
labelZh: Bark 服务器区分大小写
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: "false"
edit: true
envKey: BARK_SERVER_STRICT_ROUTING
labelEn: Bark Server Strict Routing
labelZh: Bark 服务器严格路由
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: "false"
edit: true
envKey: BARK_SERVER_REDUCE_MEMORY_USAGE
labelEn: Bark Server Reduce Memory Usage
labelZh: Bark 服务器减少内存使用
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_USER
labelEn: Bark Server Basic Auth User
labelZh: Bark 服务器基本身份验证用户
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_PASSWORD
labelEn: Bark Server Basic Auth Password
labelZh: Bark 服务器基本身份验证密码
required: false
type: password
- default: ""
edit: true
envKey: BARK_SERVER_PROXY_HEADER
labelEn: Bark Server Proxy Header
labelZh: Bark 服务器代理头
required: false
type: text
- default: "262144"
edit: true
envKey: BARK_SERVER_CONCURRENCY
labelEn: Bark Server Concurrency
labelZh: Bark 服务器并发
required: true
type: number
- default: "3s"
edit: true
envKey: BARK_SERVER_READ_TIMEOUT
labelEn: Bark Server Read Timeout
labelZh: Bark 服务器读取超时
required: true
type: text
- default: "3s"
edit: true
envKey: BARK_SERVER_WRITE_TIMEOUT
labelEn: Bark Server Write Timeout
labelZh: Bark 服务器写入超时
required: true
type: text
- default: "10s"
edit: true
envKey: BARK_SERVER_IDLE_TIMEOUT
labelEn: Bark Server Idle Timeout
labelZh: Bark 服务器空闲超时
required: true
type: text

View File

@ -0,0 +1,35 @@
services:
bark:
image: "finab/bark-server:v2.1.5"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- ${DATA_PATH}:/data
environment:
- BARK_SERVER_ADDRESS=${BARK_SERVER_ADDRESS}:${PANEL_APP_PORT_HTTP}
- BARK_SERVER_URL_PREFIX=${BARK_SERVER_URL_PREFIX}
- BARK_SERVER_DATA_DIR=${BARK_SERVER_DATA_DIR}
- BARK_SERVER_DSN=${BARK_SERVER_DSN}
- BARK_SERVER_SERVERLESS=${BARK_SERVER_SERVERLESS}
- BARK_SERVER_CERT=${BARK_SERVER_CERT}
- BARK_SERVER_KEY=${BARK_SERVER_KEY}
- BARK_SERVER_CASE_SENSITIVE=${BARK_SERVER_CASE_SENSITIVE}
- BARK_SERVER_STRICT_ROUTING=${BARK_SERVER_STRICT_ROUTING}
- BARK_SERVER_REDUCE_MEMORY_USAGE=${BARK_SERVER_REDUCE_MEMORY_USAGE}
- BARK_SERVER_BASIC_AUTH_USER=${BARK_SERVER_BASIC_AUTH_USER}
- BARK_SERVER_BASIC_AUTH_PASSWORD=${BARK_SERVER_BASIC_AUTH_PASSWORD}
- BARK_SERVER_PROXY_HEADER=${BARK_SERVER_PROXY_HEADER}
- BARK_SERVER_CONCURRENCY=${BARK_SERVER_CONCURRENCY}
- BARK_SERVER_READ_TIMEOUT=${BARK_SERVER_READ_TIMEOUT}
- BARK_SERVER_WRITE_TIMEOUT=${BARK_SERVER_WRITE_TIMEOUT}
- BARK_SERVER_IDLE_TIMEOUT=${BARK_SERVER_IDLE_TIMEOUT}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

3
apps/bark/README.md Normal file
View File

@ -0,0 +1,3 @@
# Bark
[Bark](https://github.com/Finb/Bark) 是一个 iOS 应用,允许你向你的 iPhone 推送自定义通知。

19
apps/bark/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Bark
tags:
- 开发工具
title: iOS 消息推送工具
description: iOS 消息推送工具
additionalProperties:
key: bark
name: Bark
tags:
- DevTool
shortDescZh: iOS 消息推送工具
shortDescEn: iOS message push tool
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://bark.day.app
github: https://github.com/Finb/Bark
document: https://bark.day.app

View File

@ -0,0 +1,20 @@
BARK_SERVER_ADDRESS="0.0.0.0"
BARK_SERVER_BASIC_AUTH_PASSWORD=""
BARK_SERVER_BASIC_AUTH_USER=""
BARK_SERVER_CASE_SENSITIVE="false"
BARK_SERVER_CERT=""
BARK_SERVER_CONCURRENCY=262144
BARK_SERVER_DATA_DIR="/data"
BARK_SERVER_DSN=""
BARK_SERVER_IDLE_TIMEOUT="10s"
BARK_SERVER_KEY=""
BARK_SERVER_PROXY_HEADER=""
BARK_SERVER_READ_TIMEOUT="3s"
BARK_SERVER_REDUCE_MEMORY_USAGE="false"
BARK_SERVER_SERVERLESS="false"
BARK_SERVER_STRICT_ROUTING="false"
BARK_SERVER_URL_PREFIX="/"
BARK_SERVER_WRITE_TIMEOUT="3s"
CONTAINER_NAME="bark"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP=40280

156
apps/bark/latest/data.yml Normal file
View File

@ -0,0 +1,156 @@
additionalProperties:
formFields:
- default: "40280"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "0.0.0.0"
disabled: true
envKey: BARK_SERVER_ADDRESS
labelEn: Bark Server Address
labelZh: Bark 服务器地址
required: true
type: text
- default: "/"
edit: true
envKey: BARK_SERVER_URL_PREFIX
labelEn: Bark Server URL Prefix
labelZh: Bark 服务器 URL 前缀
required: true
type: text
- default: "/data"
disabled: true
envKey: BARK_SERVER_DATA_DIR
labelEn: Bark Server Data Directory
labelZh: Bark 服务器数据目录
required: true
type: text
- default: ""
edit: true
envKey: BARK_SERVER_DSN
labelEn: Bark Server DSN
labelZh: Bark 服务器 DSN
required: false
type: text
- default: "false"
edit: true
envKey: BARK_SERVER_SERVERLESS
labelEn: Bark Server Serverless
labelZh: Bark 服务器无服务器
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: ""
edit: true
envKey: BARK_SERVER_CERT
labelEn: Bark Server Certificate
labelZh: Bark 服务器证书
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_KEY
labelEn: Bark Server Key
labelZh: Bark 服务器密钥
required: false
type: text
- default: "false"
edit: true
envKey: BARK_SERVER_CASE_SENSITIVE
labelEn: Bark Server Case Sensitive
labelZh: Bark 服务器区分大小写
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: "false"
edit: true
envKey: BARK_SERVER_STRICT_ROUTING
labelEn: Bark Server Strict Routing
labelZh: Bark 服务器严格路由
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: "false"
edit: true
envKey: BARK_SERVER_REDUCE_MEMORY_USAGE
labelEn: Bark Server Reduce Memory Usage
labelZh: Bark 服务器减少内存使用
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_USER
labelEn: Bark Server Basic Auth User
labelZh: Bark 服务器基本身份验证用户
required: false
type: text
- default: ""
edit: true
envKey: BARK_SERVER_BASIC_AUTH_PASSWORD
labelEn: Bark Server Basic Auth Password
labelZh: Bark 服务器基本身份验证密码
required: false
type: password
- default: ""
edit: true
envKey: BARK_SERVER_PROXY_HEADER
labelEn: Bark Server Proxy Header
labelZh: Bark 服务器代理头
required: false
type: text
- default: "262144"
edit: true
envKey: BARK_SERVER_CONCURRENCY
labelEn: Bark Server Concurrency
labelZh: Bark 服务器并发
required: true
type: number
- default: "3s"
edit: true
envKey: BARK_SERVER_READ_TIMEOUT
labelEn: Bark Server Read Timeout
labelZh: Bark 服务器读取超时
required: true
type: text
- default: "3s"
edit: true
envKey: BARK_SERVER_WRITE_TIMEOUT
labelEn: Bark Server Write Timeout
labelZh: Bark 服务器写入超时
required: true
type: text
- default: "10s"
edit: true
envKey: BARK_SERVER_IDLE_TIMEOUT
labelEn: Bark Server Idle Timeout
labelZh: Bark 服务器空闲超时
required: true
type: text

View File

@ -0,0 +1,35 @@
services:
bark:
image: "finab/bark-server:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- ${DATA_PATH}:/data
environment:
- BARK_SERVER_ADDRESS=${BARK_SERVER_ADDRESS}:${PANEL_APP_PORT_HTTP}
- BARK_SERVER_URL_PREFIX=${BARK_SERVER_URL_PREFIX}
- BARK_SERVER_DATA_DIR=${BARK_SERVER_DATA_DIR}
- BARK_SERVER_DSN=${BARK_SERVER_DSN}
- BARK_SERVER_SERVERLESS=${BARK_SERVER_SERVERLESS}
- BARK_SERVER_CERT=${BARK_SERVER_CERT}
- BARK_SERVER_KEY=${BARK_SERVER_KEY}
- BARK_SERVER_CASE_SENSITIVE=${BARK_SERVER_CASE_SENSITIVE}
- BARK_SERVER_STRICT_ROUTING=${BARK_SERVER_STRICT_ROUTING}
- BARK_SERVER_REDUCE_MEMORY_USAGE=${BARK_SERVER_REDUCE_MEMORY_USAGE}
- BARK_SERVER_BASIC_AUTH_USER=${BARK_SERVER_BASIC_AUTH_USER}
- BARK_SERVER_BASIC_AUTH_PASSWORD=${BARK_SERVER_BASIC_AUTH_PASSWORD}
- BARK_SERVER_PROXY_HEADER=${BARK_SERVER_PROXY_HEADER}
- BARK_SERVER_CONCURRENCY=${BARK_SERVER_CONCURRENCY}
- BARK_SERVER_READ_TIMEOUT=${BARK_SERVER_READ_TIMEOUT}
- BARK_SERVER_WRITE_TIMEOUT=${BARK_SERVER_WRITE_TIMEOUT}
- BARK_SERVER_IDLE_TIMEOUT=${BARK_SERVER_IDLE_TIMEOUT}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/bark/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB