[toc]
Dashy 帮助您组织自托管服务 服务监控面板
官网的图片,想要配置更好,查看官方文档哦。
记得我说过么,==docker文件都放到同一目录管理==
# 去我们docker文件目录
#创建文件
mkdir -p dashy/{icons,public}
# dc.yaml
nano docker-compose.ymal
services:
dashy:
ports:
- '3001:80'
volumes:
- './public/conf.yml:/app/public/conf.yml'
- './icons:/app/public/item-icons/icons'
container_name: dashy
restart: unless-stopped
image: 'lissy93/dashy:latest'
配置文件
nano public/conf.yml
# 只需要修改用户名和密码
# Page meta info, like heading, footer text and nav links
pageInfo:
title: Dashy
description: Welcome to your new dashboard!
navLinks:
- title: GitHub
path: https://github.com/Lissy93/dashy
- title: Documentation
path: https://dashy.to/docs
# Optional app settings and configuration
appConfig:
theme: colorful
layout: auto
iconSize: medium
language: en
auth:
users:
- user: goer # 改成自己的用户名
hash: a62e98e8fd6095f09a76459969facdc6b7ee4964ae8cde2d0086b0bf302cb422 # cha256 哈希加密,地址用这个: https://emn178.github.io/online-tools/sha256.html
type: admin
# Main content - An array of sections, each containing an array of items
sections:
- name: Getting Started
icon: fas fa-rocket
items:
- title: Dashy Live
description: Development a project management links for Dashy
icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png
url: https://live.dashy.to/
target: newtab
- title: GitHub
description: Source Code, Issues and Pull Requests
url: https://github.com/lissy93/dashy
icon: favicon
- title: Docs
description: Configuring & Usage Documentation
provider: Dashy.to
icon: far fa-book
url: https://dashy.to/docs
- title: Showcase
description: See how others are using Dashy
url: https://github.com/Lissy93/dashy/blob/master/docs/showcase.md
icon: far fa-grin-hearts
- title: Config Guide
description: See full list of configuration options
url: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md
icon: fas fa-wrench
- title: Support
description: Get help with Dashy, raise a bug, or get in contact
url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md
icon: far fa-hands-helping
启动
ip:3001 # 腾讯云记得防火墙后面开放 3001 端口
添加
section
图标库可以用 fontawesome
自己去克隆其他图标库icon
cd icon
git clone https://github.com/walkxcode/dashboard-icons.git
注意图标路径
last:
其他添加我就不说了,大家自行摸索。