From 5fd0b56546c8c48a155fff087ca1ca8d6a86cda7 Mon Sep 17 00:00:00 2001 From: okxlin Date: Wed, 7 Aug 2024 23:35:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0bark=E5=88=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/bark/2.1.5/.env.sample | 20 ++++ apps/bark/2.1.5/data.yml | 156 ++++++++++++++++++++++++++++ apps/bark/2.1.5/docker-compose.yml | 35 +++++++ apps/bark/README.md | 3 + apps/bark/data.yml | 19 ++++ apps/bark/latest/.env.sample | 20 ++++ apps/bark/latest/data.yml | 156 ++++++++++++++++++++++++++++ apps/bark/latest/docker-compose.yml | 35 +++++++ apps/bark/logo.png | Bin 0 -> 2213 bytes 9 files changed, 444 insertions(+) create mode 100644 apps/bark/2.1.5/.env.sample create mode 100644 apps/bark/2.1.5/data.yml create mode 100644 apps/bark/2.1.5/docker-compose.yml create mode 100644 apps/bark/README.md create mode 100644 apps/bark/data.yml create mode 100644 apps/bark/latest/.env.sample create mode 100644 apps/bark/latest/data.yml create mode 100644 apps/bark/latest/docker-compose.yml create mode 100644 apps/bark/logo.png diff --git a/apps/bark/2.1.5/.env.sample b/apps/bark/2.1.5/.env.sample new file mode 100644 index 00000000..959c1804 --- /dev/null +++ b/apps/bark/2.1.5/.env.sample @@ -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 diff --git a/apps/bark/2.1.5/data.yml b/apps/bark/2.1.5/data.yml new file mode 100644 index 00000000..8d499268 --- /dev/null +++ b/apps/bark/2.1.5/data.yml @@ -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 \ No newline at end of file diff --git a/apps/bark/2.1.5/docker-compose.yml b/apps/bark/2.1.5/docker-compose.yml new file mode 100644 index 00000000..ddcc2fb8 --- /dev/null +++ b/apps/bark/2.1.5/docker-compose.yml @@ -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 diff --git a/apps/bark/README.md b/apps/bark/README.md new file mode 100644 index 00000000..0a2a8c8a --- /dev/null +++ b/apps/bark/README.md @@ -0,0 +1,3 @@ +# Bark + +[Bark](https://github.com/Finb/Bark) 是一个 iOS 应用,允许你向你的 iPhone 推送自定义通知。 \ No newline at end of file diff --git a/apps/bark/data.yml b/apps/bark/data.yml new file mode 100644 index 00000000..b1e8fb70 --- /dev/null +++ b/apps/bark/data.yml @@ -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 diff --git a/apps/bark/latest/.env.sample b/apps/bark/latest/.env.sample new file mode 100644 index 00000000..959c1804 --- /dev/null +++ b/apps/bark/latest/.env.sample @@ -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 diff --git a/apps/bark/latest/data.yml b/apps/bark/latest/data.yml new file mode 100644 index 00000000..8d499268 --- /dev/null +++ b/apps/bark/latest/data.yml @@ -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 \ No newline at end of file diff --git a/apps/bark/latest/docker-compose.yml b/apps/bark/latest/docker-compose.yml new file mode 100644 index 00000000..3afab75f --- /dev/null +++ b/apps/bark/latest/docker-compose.yml @@ -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 diff --git a/apps/bark/logo.png b/apps/bark/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..278c58fcd01cfebc3c85042a57a505fd9af18877 GIT binary patch literal 2213 zcmY*aX*d*W8#Z>6ZERy5`;vVbWN?gS?CT)m%TgL^97_>VvP`lskr55^VagVfH58xX zSY~XMl7l!CDO=Wf&-7j2_v2jG^WN|M+|PU6Ki(hrli}=W#RV0GGB7Z3*;rd(>38d| z!_GuUDE}TEA#i7VHw>KsLk(c4`Hw>Vw>9{`ZbWZ209~XL1LQAm@Xz;#>c6IR6FQ=_ zfPwb^+yDR~oZy@q5aIyHvp`P;7;6JLVW6!5#JGXF4A7JV$_St&2BZan1TVOI2dGK` zNj~s)1_-c$>~t_O3MMDO@DONi0%Q^>$^nl`K}kNy&jhK7;KO?`GYJM?f_gF-9R}U) zpzJ<~j|Nu*fUODW?FP5vfHxMHp95=Oz~?2J~Tm^_^#U3YwRhLh#oa3d89nPoLzL5--3kE^}t^byfH9k50H< z)7QIesF4vOCVDEvKZmmIvCDd-JR-NAc-qk4TfC5T#OrQk|L!x(o~V;F56-9Y9VzUl zZC?C4jMfm(5656E7q~l%NlX7NNBb5$$95&)>u;3d!qe33#>Q5VKonwqBfV?4RK`5?ejLy@Gu^xkN zucw;D)#bG{a@NPK$vHE6H|&+C-4u(GUPg1oTxF2V`g+`0#-qFoX!?8WF)ES5oc){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