parent
9696438302
commit
d91001d0d2
|
|
@ -0,0 +1,60 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "8360"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "Asia/Shanghai"
|
||||||
|
envKey: TZ
|
||||||
|
labelEn: Time Zone
|
||||||
|
labelZh: 时区
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "Ep1sH0AEw128"
|
||||||
|
envKey: JWT_TOKEN
|
||||||
|
labelEn: JWT Token
|
||||||
|
labelZh: 用户登录密钥
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: "false"
|
||||||
|
envKey: COMMENT_AUDIT
|
||||||
|
labelEn: Comment Audit
|
||||||
|
labelZh: 开启评论审核
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 是
|
||||||
|
value: "true"
|
||||||
|
- label: 否
|
||||||
|
value: "false"
|
||||||
|
- default: ""
|
||||||
|
envKey: AUTHOR_EMAIL
|
||||||
|
labelEn: Author Email
|
||||||
|
labelZh: 作者邮箱
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
envKey: SITE_NAME
|
||||||
|
labelEn: Site Name
|
||||||
|
labelZh: 博客名称
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
envKey: SITE_URL
|
||||||
|
labelEn: Site Url
|
||||||
|
labelZh: 博客地址
|
||||||
|
required: false
|
||||||
|
rule: paramHttp
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
envKey: SECURE_DOMAINS
|
||||||
|
labelEn: Secure Domains
|
||||||
|
labelZh: 安全域名
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,25 @@
|
||||||
|
services:
|
||||||
|
waline:
|
||||||
|
image: lizheming/waline:1.32.2
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- ./data:/app/data
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8360
|
||||||
|
environment:
|
||||||
|
- SQLITE_PATH=/app/data # 默认值,不建议修改(如果修改,则需要手动将waline.sqlite挂载到这个目录下)
|
||||||
|
- TZ=${TZ}
|
||||||
|
- JWT_TOKEN=${JWT_TOKEN}
|
||||||
|
- COMMENT_AUDIT=${COMMENT_AUDIT}
|
||||||
|
- AUTHOR_EMAIL=${AUTHOR_EMAIL}
|
||||||
|
- SITE_NAME=${SITE_NAME}
|
||||||
|
- SITE_URL=${SITE_URL}
|
||||||
|
- SECURE_DOMAINS=${SECURE_DOMAINS}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Waline
|
||||||
|
|
||||||
|
**Waline** 是一款简洁、安全的评论系统。
|
||||||
|
|
||||||
|
## 参数说明
|
||||||
|
|
||||||
|
| 变量名称 | 必填 | 默认值 | 备注 |
|
||||||
|
| :------: | :---: | :---: | :--- |
|
||||||
|
| 时区<br />`Time Zone` | ✅ | `Asia/Shanghai` | 参考:[Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) |
|
||||||
|
| 用户登录密钥<br />`JWT Token` | ✅ | 随机生成 | 使用默认值即可 |
|
||||||
|
| 开启评论审核<br />`Comment Audit` | ✅ | `false` | 开启后评论需要经过管理员审核后才能显示 |
|
||||||
|
| 作者邮箱<br />`Author Email` | | | 示例: `author@example.com` |
|
||||||
|
| 博客名称<br />`Site Name` | | | 示例: `My Blog Site Name` |
|
||||||
|
| 博客地址<br />`Site Url` | | | 示例: `https://myblog.example.com` |
|
||||||
|
| 安全域名<br />`Secure Domains` | | | 示例: `myblog.example.com`<br />配置时安全域名需要同时配置博客名称和地址<br />多个域名使用英文逗号分隔 |
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Waline
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 一款简洁、安全的评论系统
|
||||||
|
description: 一款简洁、安全的评论系统
|
||||||
|
additionalProperties:
|
||||||
|
key: waline
|
||||||
|
name: waline
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 一款简洁、安全的评论系统
|
||||||
|
shortDescEn: A Simple, Safe Comment System
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://waline.js.org/
|
||||||
|
github: https://github.com/walinejs/waline
|
||||||
|
document: https://waline.js.org/guide/get-started/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Loading…
Reference in New Issue