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 00000000..278c58fc Binary files /dev/null and b/apps/bark/logo.png differ