mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -0,0 +1,168 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_POSTGRES_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: postgresql
|
||||
envKey: PANEL_POSTGRES_TYPE
|
||||
labelZh: Postgres 服务 (前置检查)
|
||||
labelEn: Postgres Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- default: "/home/linkding"
|
||||
edit: true
|
||||
envKey: LINKDING_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 9090
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: LD_SUPERUSER_NAME
|
||||
labelZh: 管理员 用户名
|
||||
labelEn: Superuser name
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: LD_SUPERUSER_PASSWORD
|
||||
labelZh: 管理员 密码
|
||||
labelEn: Superuser password
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "False"
|
||||
edit: true
|
||||
envKey: LD_DISABLE_BACKGROUND_TASKS
|
||||
labelZh: 禁用后台任务
|
||||
labelEn: Disable background tasks
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "False"
|
||||
- label: 启用
|
||||
value: "True"
|
||||
- default: "False"
|
||||
edit: true
|
||||
envKey: LD_DISABLE_URL_VALIDATION
|
||||
labelZh: 禁用 URL 验证
|
||||
labelEn: Disable URL validation
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "False"
|
||||
- label: 启用
|
||||
value: "True"
|
||||
- default: 60
|
||||
edit: true
|
||||
envKey: LD_REQUEST_TIMEOUT
|
||||
labelZh: 请求超时时间 (秒)
|
||||
labelEn: Request timeout (seconds)
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: LD_CONTEXT_PATH
|
||||
labelZh: 网站路径
|
||||
labelEn: Context path
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: LD_LOG_X_FORWARDED_FOR
|
||||
labelZh: 记录真实 IP
|
||||
labelEn: Log real IP
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- default: "https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={url}&size=32"
|
||||
edit: true
|
||||
envKey: LD_FAVICON_PROVIDER
|
||||
labelZh: 网站图标提供商
|
||||
labelEn: Favicon provider
|
||||
required: true
|
||||
type: text
|
||||
- default: "localhost"
|
||||
edit: true
|
||||
envKey: LD_DB_HOST
|
||||
labelZh: 数据库 主机
|
||||
labelEn: Database Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 5432
|
||||
edit: true
|
||||
envKey: LD_DB_PORT
|
||||
labelEn: Database Port
|
||||
labelZh: 数据库 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "linkding"
|
||||
edit: true
|
||||
envKey: LD_DB_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database User
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: LD_DB_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "linkding"
|
||||
edit: true
|
||||
envKey: LD_DB_DATABASE
|
||||
labelZh: 数据库名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "{}"
|
||||
edit: true
|
||||
envKey: LD_DB_OPTIONS
|
||||
labelZh: 数据库选项 (JSON)
|
||||
labelEn: Database Options (JSON)
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: LD_CSRF_TRUSTED_ORIGINS
|
||||
labelZh: CSRF 可信来源
|
||||
labelEn: CSRF trusted origins
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALL_PROXY
|
||||
labelZh: 代理地址
|
||||
labelEn: Proxy address
|
||||
required: false
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "localhost,127.0.0.1,::1"
|
||||
edit: true
|
||||
envKey: NO_PROXY
|
||||
labelZh: 代理白名单
|
||||
labelEn: Proxy whitelist
|
||||
required: false
|
||||
type: text
|
||||
@@ -0,0 +1,26 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
linkding:
|
||||
image: sissbruecker/linkding:1.31.0-plus-alpine
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:9090
|
||||
volumes:
|
||||
- ${LINKDING_ROOT_PATH}/data:/etc/linkding/data
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- LD_SERVER_PORT=9090
|
||||
- LD_DB_ENGINE=postgres
|
||||
- HTTP_PROXY=${ALL_PROXY}
|
||||
- HTTPS_PROXY=${ALL_PROXY}
|
||||
@@ -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,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .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,44 @@
|
||||
# linkding
|
||||
|
||||
链接是一个简单的书签服务,您可以自己托管。
|
||||
|
||||

|
||||
|
||||
## 特性
|
||||
|
||||
+ 用于组织书签的标签
|
||||
+ 按文本或标签搜索
|
||||
+ 批量编辑
|
||||
+ 书签存档
|
||||
+ 深色模式
|
||||
+ 在 Internet Archive Wayback Machine 上自动创建已添加书签的网站的快照
|
||||
+ 自动提供已添加书签的网站的标题和描述
|
||||
+ 以 Netscape HTML 格式导入和导出书签
|
||||
+ Firefox 和 Chrome 的扩展程序,以及应该在大多数浏览器中工作的书签
|
||||
+ 用于开发第三方应用程序的 REST API
|
||||
+ 用于用户自助服务和原始数据访问的管理面板
|
||||
+ 使用Docker易于设置,使用SQLite作为数据库
|
||||
|
||||
## 安装说明
|
||||
|
||||
### 网站图标提供商
|
||||
|
||||
+ 默认供应商 Google
|
||||
`https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={url}&size=32`
|
||||
+ 可选供应商 DuckDuckGo
|
||||
`https://icons.duckduckgo.com/ip3/{domain}.ico`
|
||||
|
||||
> 自定义供应商规则
|
||||
|
||||
+ 参数 `{url}`
|
||||
|
||||
包括网站的方案和主机名,例如 https://example.com
|
||||
|
||||
+ 参数 `{domain}`
|
||||
|
||||
仅包含网站的主机名,例如 example.com
|
||||
|
||||
## 插件应用
|
||||
|
||||
+ [Firefox 书签同步](https://addons.mozilla.org/de/firefox/addon/linkding-extension/)
|
||||
+ [Chrome 书签同步](https://chrome.google.com/webstore/detail/linkding-extension/beakmhbijpdhipnjhnclmhgjlddhidpe)
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Linkding
|
||||
title: Linkding
|
||||
description: 自己托管的书签管理器
|
||||
additionalProperties:
|
||||
key: linkding
|
||||
name: Linkding
|
||||
tags:
|
||||
- WebSite
|
||||
- Storage
|
||||
- Local
|
||||
shortDescZh: 自己托管的书签管理器
|
||||
shortDescEn: Self-hosted bookmark manager
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://demo.linkding.link/
|
||||
github: https://github.com/sissbruecker/linkding/
|
||||
document: https://github.com/sissbruecker/linkding/blob/master/README.md
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Reference in New Issue
Block a user