diff --git a/apps/demo/README.md b/apps/demo/README.md deleted file mode 100644 index e0c9709..0000000 --- a/apps/demo/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# 1Panel Apps - -这是一款适配 1Panel 应用商店的通用应用模板, - -旨在简化 Docker 应用的快速适配过程,让用户轻松将所需应用集成至 1Panel 应用商店。 - -它能够有效解决非商店应用无法使用 1Panel 快照和应用备份功能的问题。 - -## 使用说明 - -- 可以按需修改安装界面的参数 - -- 也可以直接忽视安装界面提供的参数,然后勾选`“高级设置”`,勾选`“编辑compose文件”`,使用自定义的 `docker-compose.yml`文件 \ No newline at end of file diff --git a/apps/demo/bridge-network/.env.sample b/apps/demo/bridge-network/.env.sample deleted file mode 100644 index dbf8a3a..0000000 --- a/apps/demo/bridge-network/.env.sample +++ /dev/null @@ -1,9 +0,0 @@ -CONTAINER_NAME="1panel-apps" -DATA_PATH="./data" -DATA_PATH_INTERNAL="/data" -ENV1="" -IMAGE="" -PANEL_APP_PORT_HTTP=40329 -PANEL_APP_PORT_HTTP_INTERNAL=40329 -RESTART_POLICY="always" -TIME_ZONE="Asia/Shanghai" diff --git a/apps/demo/bridge-network/data.yml b/apps/demo/bridge-network/data.yml deleted file mode 100644 index 7b831e5..0000000 --- a/apps/demo/bridge-network/data.yml +++ /dev/null @@ -1,69 +0,0 @@ -additionalProperties: - formFields: - - default: "" - edit: true - envKey: IMAGE - labelEn: Docker Image - labelZh: Docker 镜像 - required: true - type: text - - default: "always" - edit: true - envKey: RESTART_POLICY - labelEn: Restart Policy - labelZh: 重启策略 - required: true - type: select - values: - - label: "Always" - value: "always" - - label: "Unless Stopped" - value: "unless-stopped" - - label: "On Failure" - value: "on-failure" - - label: "No" - value: "no" - - default: "40329" - edit: true - envKey: PANEL_APP_PORT_HTTP - labelEn: Port - labelZh: 端口 - required: true - rule: paramPort - type: number - - default: "40329" - edit: true - envKey: PANEL_APP_PORT_HTTP_INTERNAL - labelEn: Internal Port - labelZh: 内部端口 - required: true - rule: paramPort - type: number - - default: "./data" - edit: true - envKey: DATA_PATH - labelEn: Data Path - labelZh: 数据路径 - required: true - type: text - - default: "/data" - edit: true - envKey: DATA_PATH_INTERNAL - labelEn: Internal Data Path - labelZh: 内部数据路径 - required: true - type: text - - default: "Asia/Shanghai" - edit: true - envKey: TIME_ZONE - labelEn: Time Zone - labelZh: 时区 - required: true - type: text - - default: "" - edit: true - envKey: ENV1 - labelEn: Environment Variable 1 (Edit to remove comments in compose.yml to take effect) - labelZh: 环境变量 1 (编辑去除compose.yml里的注释生效) - required: false - type: text diff --git a/apps/demo/bridge-network/docker-compose.yml b/apps/demo/bridge-network/docker-compose.yml deleted file mode 100644 index 9377e2c..0000000 --- a/apps/demo/bridge-network/docker-compose.yml +++ /dev/null @@ -1,22 +0,0 @@ -services: - 1panel-apps: - image: ${IMAGE} - container_name: ${CONTAINER_NAME} - restart: ${RESTART_POLICY} - networks: - - 1panel-network - ports: - - "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP_INTERNAL}" - volumes: - - "${DATA_PATH}:${DATA_PATH_INTERNAL}" - environment: - # 环境参数按需修改 (Modify the environment parameters as required) - - TZ=${TIME_ZONE} - # 删除以下行前的#号表示启用 (Delete the # sign in front of the following lines to indicate enablement) - # - ${ENV1}=${ENV1} - labels: - createdBy: "Apps" - -networks: - 1panel-network: - external: true diff --git a/apps/demo/data.yml b/apps/demo/data.yml deleted file mode 100644 index 478a57b..0000000 --- a/apps/demo/data.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: 1Panel Apps -tags: - - 建站 -title: 适配 1Panel 应用商店的通用应用模板 -description: 适配 1Panel 应用商店的通用应用模板 -additionalProperties: - key: 1panel-apps - name: 1Panel Apps - tags: - - Website - shortDescZh: 适配 1Panel 应用商店的通用应用模板 - shortDescEn: Universal app template for the 1Panel App Store - type: website - crossVersionUpdate: true - limit: 0 - recommend: 0 - website: https://github.com/okxlin/appstore - github: https://github.com/okxlin/appstore - document: https://github.com/okxlin/appstore diff --git a/apps/demo/host-network/.env.sample b/apps/demo/host-network/.env.sample deleted file mode 100644 index 88ad432..0000000 --- a/apps/demo/host-network/.env.sample +++ /dev/null @@ -1,8 +0,0 @@ -CONTAINER_NAME="1panel-apps" -DATA_PATH="./data" -DATA_PATH_INTERNAL="/data" -ENV1="" -IMAGE="" -PANEL_APP_PORT_HTTP=40329 -RESTART_POLICY="always" -TIME_ZONE="Asia/Shanghai" diff --git a/apps/demo/host-network/data.yml b/apps/demo/host-network/data.yml deleted file mode 100644 index 15a416c..0000000 --- a/apps/demo/host-network/data.yml +++ /dev/null @@ -1,61 +0,0 @@ -additionalProperties: - formFields: - - default: "" - edit: true - envKey: IMAGE - labelEn: Docker Image - labelZh: Docker 镜像 - required: true - type: text - - default: "always" - edit: true - envKey: RESTART_POLICY - labelEn: Restart Policy - labelZh: 重启策略 - required: true - type: select - values: - - label: "Always" - value: "always" - - label: "Unless Stopped" - value: "unless-stopped" - - label: "On Failure" - value: "on-failure" - - label: "No" - value: "no" - - default: "40329" - edit: true - envKey: PANEL_APP_PORT_HTTP - labelEn: Port (determined by the Docker application itself) - labelZh: 端口 (由 Docker 应用自身决定) - required: true - rule: paramPort - type: number - - default: "./data" - edit: true - envKey: DATA_PATH - labelEn: Data Path - labelZh: 数据路径 - required: true - type: text - - default: "/data" - edit: true - envKey: DATA_PATH_INTERNAL - labelEn: Internal Data Path - labelZh: 内部数据路径 - required: true - type: text - - default: "Asia/Shanghai" - edit: true - envKey: TIME_ZONE - labelEn: Time Zone - labelZh: 时区 - required: true - type: text - - default: "" - edit: true - envKey: ENV1 - labelEn: Environment Variable 1 (Edit to remove comments in compose.yml to take effect) - labelZh: 环境变量 1 (编辑去除compose.yml里的注释生效) - required: false - type: text diff --git a/apps/demo/host-network/docker-compose.yml b/apps/demo/host-network/docker-compose.yml deleted file mode 100644 index dd267b3..0000000 --- a/apps/demo/host-network/docker-compose.yml +++ /dev/null @@ -1,15 +0,0 @@ -services: - 1panel-apps: - image: ${IMAGE} - container_name: ${CONTAINER_NAME} - restart: ${RESTART_POLICY} - network_mode: host - volumes: - - "${DATA_PATH}:${DATA_PATH_INTERNAL}" - environment: - # 环境参数按需修改 (Modify the environment parameters as required) - - TZ=${TIME_ZONE} - # 删除以下行前的#号表示启用 (Delete the # sign in front of the following lines to indicate enablement) - # - ${ENV1}=${ENV1} - labels: - createdBy: "Apps" diff --git a/apps/demo/logo.png b/apps/demo/logo.png deleted file mode 100644 index 9cec3e6..0000000 Binary files a/apps/demo/logo.png and /dev/null differ