feat:添加vanblog到列表

This commit is contained in:
okxlin 2024-05-10 22:21:06 +08:00
parent 408ce81e68
commit 2f1cea0235
9 changed files with 291 additions and 0 deletions

View File

@ -0,0 +1,12 @@
CONTAINER_NAME="vanblog"
DATA_PATH="./data"
EMAIL=""
MONGO_DB="vanblog_8wksi3"
MONGO_HOST="mongodb"
PANEL_APP_PORT_HTTP="40233"
PANEL_APP_PORT_HTTPS="40234"
PANEL_DB_ROOT_PASSWORD="BJjH9dttfcqFBFnZbC9twpWZxF8EmQ"
PANEL_DB_ROOT_USER="mongo_k2EjZ3"
TIME_ZONE="Asia/Shanghai"
VAN_BLOG_CDN_URL=""
VAN_BLOG_WALINE_DB="waline"

View File

@ -0,0 +1,86 @@
additionalProperties:
formFields:
- default: 40233
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: 40234
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: Port
labelZh: HTTPS 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: EMAIL
labelEn: Mailbox for automatic https certificate application
labelZh: 用于自动申请 https 证书的邮箱
required: false
type: text
- default: ""
edit: true
envKey: VAN_BLOG_CDN_URL
labelEn: CDN URL
labelZh: CDN 地址
required: false
type: text
- default: "waline"
envKey: VAN_BLOG_WALINE_DB
labelEn: Database name of the embedded commenting system
labelZh: 内嵌评论系统的数据库名
required: false
type: text
edit: true
- default: ""
edit: true
envKey: MONGO_HOST
key: mongodb
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: "vanblog"
edit: true
envKey: MONGO_DB
labelEn: Database Name
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: PANEL_DB_ROOT_USER
labelEn: Database User Name
labelZh: 数据库用户名
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Database User Password
labelZh: 数据库密码
required: true
rule: paramCommon
type: password

View File

@ -0,0 +1,28 @@
version: '3'
services:
vanblog:
image: mereith/van-blog:v0.54.0
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${PANEL_APP_PORT_HTTPS}:443"
volumes:
- ${DATA_PATH}/data/static:/app/static
- ${DATA_PATH}/log:/var/log
- ${DATA_PATH}/caddy/config:/root/.config/caddy
- ${DATA_PATH}/caddy/data:/root/.local/share/caddy
environment:
- TZ=${TIME_ZONE}
- EMAIL=${EMAIL}
- VAN_BLOG_CDN_URL=${VAN_BLOG_CDN_URL}
- VAN_BLOG_WALINE_DB=${VAN_BLOG_WALINE_DB}
- VAN_BLOG_DATABASE_URL=mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017/${MONGO_DB}?authSource=admin
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

20
apps/vanblog/README.md Normal file
View File

@ -0,0 +1,20 @@
<p align="center">
<img src="https://github.com/Mereithhh/vanblog/raw/master/img/logo.svg" style="width: 200px"></img>
</p>
<p align="center">
<strong>VanBlog是一款简洁、实用、优雅的个人博客系统支持全自动按需申请HTTPS证书、黑暗模式、移动端自适应和评论功能。它内置了流量统计和图床并集成了评论系统。此外VanBlog还具有无限的可扩展性提供完备的后台管理面板支持黑暗模式、移动端、一键上传剪贴板图片到图床并带有强大的编辑器。</strong>
</p>
<p align="center">
<img src="https://img.shields.io/github/v/release/mereithhh/van-blog?display_name=tag" />
<img src="https://img.shields.io/docker/pulls/mereith/van-blog" />
<img src="https://img.shields.io/github/stars/mereithhh/van-blog" />
<img src="https://img.shields.io/bitbucket/issues/mereithhh/van-blog" />
<img src="https://github.com/mereithhh/van-blog/workflows/release/badge.svg" />
<img src="https://img.shields.io/badge/license-GPL%20v3-yellow.svg" />
</p>
<p align="center">
<strong>项目主页: </strong> <a target="_blank" href='https://vanblog.mereith.com'>vanblog.mereith.com</a>
</p>
<p align="center">
<strong>Demo(后台账号密码均为 demo): </strong> <a target="_blank" href='https://blog-demo.mereith.com'>blog-demo.mereith.com</a>
</p>

19
apps/vanblog/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: VanBlog
tags:
- 建站
title: 一款简洁实用优雅的个人博客系统
description: 一款简洁实用优雅的个人博客系统
additionalProperties:
key: vanblog
name: VanBlog
tags:
- WebSite
shortDescZh: 一款简洁实用优雅的个人博客系统
shortDescEn: A simple, practical and elegant personal blog system
type: website
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://vanblog.mereith.com
github: https://github.com/Mereithhh/vanblog
document: https://vanblog.mereith.com

View File

@ -0,0 +1,12 @@
CONTAINER_NAME="vanblog"
DATA_PATH="./data"
EMAIL=""
MONGO_DB="vanblog_8wksi3"
MONGO_HOST="mongodb"
PANEL_APP_PORT_HTTP="40233"
PANEL_APP_PORT_HTTPS="40234"
PANEL_DB_ROOT_PASSWORD="BJjH9dttfcqFBFnZbC9twpWZxF8EmQ"
PANEL_DB_ROOT_USER="mongo_k2EjZ3"
TIME_ZONE="Asia/Shanghai"
VAN_BLOG_CDN_URL=""
VAN_BLOG_WALINE_DB="waline"

View File

@ -0,0 +1,86 @@
additionalProperties:
formFields:
- default: 40233
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
required: true
rule: paramPort
type: number
- default: 40234
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: Port
labelZh: HTTPS 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: EMAIL
labelEn: Mailbox for automatic https certificate application
labelZh: 用于自动申请 https 证书的邮箱
required: false
type: text
- default: ""
edit: true
envKey: VAN_BLOG_CDN_URL
labelEn: CDN URL
labelZh: CDN 地址
required: false
type: text
- default: "waline"
envKey: VAN_BLOG_WALINE_DB
labelEn: Database name of the embedded commenting system
labelZh: 内嵌评论系统的数据库名
required: false
type: text
edit: true
- default: ""
edit: true
envKey: MONGO_HOST
key: mongodb
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: "vanblog"
edit: true
envKey: MONGO_DB
labelEn: Database Name
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: PANEL_DB_ROOT_USER
labelEn: Database User Name
labelZh: 数据库用户名
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Database User Password
labelZh: 数据库密码
required: true
rule: paramCommon
type: password

View File

@ -0,0 +1,28 @@
version: '3'
services:
vanblog:
image: mereith/van-blog:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${PANEL_APP_PORT_HTTPS}:443"
volumes:
- ${DATA_PATH}/data/static:/app/static
- ${DATA_PATH}/log:/var/log
- ${DATA_PATH}/caddy/config:/root/.config/caddy
- ${DATA_PATH}/caddy/data:/root/.local/share/caddy
environment:
- TZ=${TIME_ZONE}
- EMAIL=${EMAIL}
- VAN_BLOG_CDN_URL=${VAN_BLOG_CDN_URL}
- VAN_BLOG_WALINE_DB=${VAN_BLOG_WALINE_DB}
- VAN_BLOG_DATABASE_URL=mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017/${MONGO_DB}?authSource=admin
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/vanblog/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB