发布应用 ArchiveBox
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
dbd1f357c1
commit
092201ea4d
|
|
@ -0,0 +1,67 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/home/archivebox"
|
||||||
|
edit: true
|
||||||
|
envKey: ARCHIVEBOX_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8000
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "archivebox"
|
||||||
|
edit: true
|
||||||
|
envKey: ADMIN_USERNAME
|
||||||
|
labelZh: 管理员用户名
|
||||||
|
labelEn: Admin Username
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "archivebox"
|
||||||
|
edit: true
|
||||||
|
envKey: ADMIN_PASSWORD
|
||||||
|
labelZh: 管理员密码
|
||||||
|
labelEn: Admin Password
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- default: "True"
|
||||||
|
edit: true
|
||||||
|
envKey: PUBLIC_INDEX
|
||||||
|
labelZh: 是否公开快照列表
|
||||||
|
labelEn: Whether to make the snapshot list public
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 公开
|
||||||
|
value: "True"
|
||||||
|
- label: 私密
|
||||||
|
value: "False"
|
||||||
|
- default: "True"
|
||||||
|
edit: true
|
||||||
|
envKey: PUBLIC_SNAPSHOTS
|
||||||
|
labelZh: 是否公开快照内容
|
||||||
|
labelEn: Whether to make snapshot content public
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 公开
|
||||||
|
value: "True"
|
||||||
|
- label: 私密
|
||||||
|
value: "False"
|
||||||
|
- default: "False"
|
||||||
|
edit: true
|
||||||
|
envKey: PUBLIC_ADD_VIEW
|
||||||
|
labelZh: 是否允许匿名用户提交存档
|
||||||
|
labelEn: Whether to allow anonymous users to submit archives
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 允许
|
||||||
|
value: "True"
|
||||||
|
- label: 禁止
|
||||||
|
value: "False"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
archivebox:
|
||||||
|
image: archivebox/archivebox:0.7.3
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8000
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- ALLOWED_HOSTS=*
|
||||||
|
- CSRF_TRUSTED_ORIGINS=http://localhost:8000
|
||||||
|
- SEARCH_BACKEND_ENGINE=sonic
|
||||||
|
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
||||||
|
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
||||||
|
|
||||||
|
archivebox-scheduler:
|
||||||
|
image: archivebox/archivebox:0.7.3
|
||||||
|
container_name: scheduler-${CONTAINER_NAME}
|
||||||
|
command: schedule --foreground --update --every=day
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- TIMEOUT=120
|
||||||
|
- SEARCH_BACKEND_ENGINE=sonic
|
||||||
|
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
||||||
|
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
||||||
|
|
||||||
|
archivebox-sonic:
|
||||||
|
image: archivebox/sonic:latest
|
||||||
|
container_name: sonic-${CONTAINER_NAME}
|
||||||
|
expose:
|
||||||
|
- 1491
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
ENV_FILE=.env
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
TZ=Asia/Shanghai
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
# ArchiveBox
|
||||||
|
|
||||||
|
开源自托管网页存档。支持 URL、浏览器历史记录、书签、Pocket、Pinboard 等,保存 HTML、JS、PDF、媒体等
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
ArchiveBox 是一款自托管应用程序,可让您以多种格式保存网站内容。
|
||||||
|
|
||||||
|
我们的目标是让您的数据立即可用,并以其他程序可直接读取的格式保存。输出格式包括标准 HTML、PNG、PDF、TXT、JSON、WARC 和
|
||||||
|
SQLite,保证在未来数十年内均可读取。ArchiveBox 还支持 CLI、REST API 和 Webhook,方便您与其他服务集成。
|
||||||
|
|
||||||
|
如果不进行积极的保护,互联网上的一切最终都会消失或退化。
|
||||||
|
|
||||||
|
ArchiveBox 是一款开源工具,可帮助组织和个人归档公共和私人网络内容,同时保留对数据的控制权。它可用于保存书签副本、保留法律案件证据、备份
|
||||||
|
Facebook/Insta/Flickr 上的照片或 YouTube/Soundcloud 等媒体资源、保存研究论文等等。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
additionalProperties:
|
||||||
|
key: archivebox
|
||||||
|
name: ArchiveBox
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Local
|
||||||
|
shortDescZh: 开源自托管网页存档
|
||||||
|
shortDescEn: Self-hosted web page archiving
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://archivebox.io/
|
||||||
|
github: https://github.com/ArchiveBox/ArchiveBox/
|
||||||
|
document: https://github.com/ArchiveBox/ArchiveBox/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue