feat:添加linkding到列表(感谢网友包子叔的投稿)

This commit is contained in:
okxlin 2023-08-19 23:26:39 +08:00
parent 59d6883602
commit f62e551ad5
9 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="linkding"
PANEL_APP_PORT_HTTP="40123"
DATA_PATH="./data"

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40123
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -0,0 +1,18 @@
version: '3'
services:
linkding:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9090"
volumes:
- "${DATA_PATH}:/etc/linkding/data"
image: sissbruecker/linkding:1.19.1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

27
apps/linkding/README.md Normal file
View File

@ -0,0 +1,27 @@
<div align="center">
<br>
<a href="https://github.com/sissbruecker/linkding">
<img src="https://github.com/sissbruecker/linkding/raw/master/docs/header.svg" height="50">
</a>
<br>
</div>
## 创建初始化用户
- 宿主机终端方式
```shell
docker exec -it xxx python manage.py createsuperuser --username=用户名 --email=邮箱
```
* xxx 改成容器名称
* 用户名 建议 `英文`
* 邮箱 邮箱地址
* 在`SSH`输入两次密码
- 容器终端方式
容器管理页面,连接容器终端执行
```shell
python manage.py createsuperuser --username=用户名 --email=邮箱
```

20
apps/linkding/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: linkding
tags:
- 工具
title: 一个书签管理器,您可以自己托管
type: 工具
description: 一个书签管理器,您可以自己托管
additionalProperties:
key: linkding
name: linkding
tags:
- Tool
shortDescZh: 一个书签管理器,您可以自己托管
shortDescEn: A bookmark manager that you can host yourself
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://github.com/sissbruecker/linkding
github: https://github.com/sissbruecker/linkding
document: https://github.com/sissbruecker/linkding

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="linkding"
PANEL_APP_PORT_HTTP="40123"
DATA_PATH="./data"

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40123
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -0,0 +1,18 @@
version: '3'
services:
linkding:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9090"
volumes:
- "${DATA_PATH}:/etc/linkding/data"
image: sissbruecker/linkding:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/linkding/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB