Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-07-23 09:29:49 +00:00
parent 805cdc2cdd
commit 761021af8d
17 changed files with 204 additions and 16 deletions
+3 -15
View File
@@ -24,21 +24,6 @@ services:
restart: always
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
archivebox-scheduler:
command: schedule --foreground --update --every=day
container_name: scheduler-archivebox
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- TIMEOUT=120
- SEARCH_BACKEND_ENGINE=sonic
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
image: archivebox/archivebox:0.7.3
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
archivebox-sonic:
container_name: sonic-archivebox
env_file:
@@ -50,5 +35,8 @@ services:
expose:
- 1491
image: archivebox/sonic:latest
networks:
- 1panel-network
restart: always
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store
+21
View File
@@ -0,0 +1,21 @@
# 数据持久化路径 [必填]
ARCHIVEBOX_ROOT_PATH=/home/archivebox
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8000
# 管理员用户名 [必填]
ADMIN_USERNAME=archivebox
# 管理员密码 [必填]
ADMIN_PASSWORD=archivebox
# 是否公开快照列表 [必填]
PUBLIC_INDEX=True
# 是否公开快照内容 [必填]
PUBLIC_SNAPSHOTS=True
# 是否允许匿名用户提交存档 [必填]
PUBLIC_ADD_VIEW=False
+67
View File
@@ -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,64 @@
networks:
1panel-network:
external: true
services:
archivebox:
container_name: archivebox
depends_on:
- archivebox-init
env_file:
- ./envs/global.env
- .env
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:-}
image: archivebox/archivebox:0.8.5rc51
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8000
restart: always
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
archivebox-init:
command: archivebox init
container_name: init-archivebox
env_file:
- ./envs/global.env
- .env
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:-}
image: archivebox/archivebox:0.8.5rc51
labels:
createdBy: Apps
networks:
- 1panel-network
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
archivebox-sonic:
container_name: sonic-archivebox
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
expose:
- 1491
image: archivebox/sonic:latest
networks:
- 1panel-network
restart: always
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store
@@ -11,7 +11,7 @@ services:
- HTTPS_PROXY=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY:-}
- NO_PROXY=${NO_PROXY:-}
image: envyafish/byte-muse:1.15.0
image: envyafish/byte-muse:1.15.1
labels:
createdBy: Apps
networks:
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -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
+17
View File
@@ -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