Merge pull request #4322 from okxlin/fix/filecodebox-latest

Fix FileCodeBox latest image
This commit is contained in:
okxlin
2026-06-27 01:07:50 +08:00
committed by GitHub
8 changed files with 36 additions and 9 deletions
+23 -5
View File
@@ -1,5 +1,24 @@
# FileCodeBox
## 产品介绍
FileCodeBox 是一个用于匿名口令分享文本和文件的轻量文件快递柜。
## 主要功能
- 通过匿名口令分享文本和文件。
- 使用 `/app/data` 持久化应用数据。
- 提供后台入口用于管理文件分享,首次启动后在初始化页面设置管理员密码。
## 访问说明
安装完成后,通过应用表单中的 HTTP 端口访问 Web UI,并按初始化页面设置管理员密码;后台入口为 `/#/admin`。
## Introduction
FileCodeBox is a lightweight file locker for sharing text and files with anonymous passcodes.
## Features
- Share text and files with anonymous passcodes.
- Persist application data under `/app/data`.
- Provide an admin entrypoint for managing shared files. Set the admin password on the initialization page after first launch.
## 应用简介
文件快递柜-匿名口令分享文本,文件,像拿快递一样取文件。
@@ -8,8 +27,8 @@
## 部署说明
- 本应用使用 Docker Compose 在 1Panel 中部署。
- 应用分类:工具。
- 支持架构:amd64。
- 可选版本:`beta`。
- 支持架构:amd64、arm64。
- 可选版本:`latest`。
- 安装后按应用表单中的端口访问 Web UI、SSH 或对应服务。
## 端口
@@ -25,9 +44,8 @@
升级或迁移前,请在 1Panel 中备份上述数据目录。
## 使用说明
- 后端地址:`/#/admin`
- 后台密码:`FileCodeBox2023`
- 首次访问时按初始化页面设置管理员密码。
- 后台入口:`/#/admin`
## 参考资料
- 官网: <https://share.lanol.cn>
+1
View File
@@ -28,3 +28,4 @@ additionalProperties:
document: https://github.com/vastsa/FileCodeBox
architectures:
- amd64
- arm64
@@ -8,10 +8,10 @@ services:
- "${PANEL_APP_PORT_HTTP}:12345"
volumes:
- "${DATA_PATH}:/app/data"
image: lanol/filecodebox:beta
labels:
image: "lanol/filecodebox:latest"
labels:
createdBy: "Apps"
networks:
1panel-network:
networks:
1panel-network:
external: true
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
mkdir -p "${DATA_PATH:-./data}"
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
docker-compose down --volumes
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
exit 0