feat:添加glance到列表
This commit is contained in:
parent
202baba0d2
commit
2012a6bd66
|
|
@ -0,0 +1,3 @@
|
||||||
|
CONTAINER_NAME="glance"
|
||||||
|
GLANCE_CONFIG_PATH="./data/glance.yml"
|
||||||
|
PANEL_APP_PORT_HTTP=40281
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40281"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "./data/glance.yml"
|
||||||
|
disabled: true
|
||||||
|
envKey: GLANCE_CONFIG_PATH
|
||||||
|
labelEn: Glance Configuration Path
|
||||||
|
labelZh: Glance 配置文件路径
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
theme:
|
||||||
|
background-color: 225 14 15
|
||||||
|
primary-color: 157 47 65
|
||||||
|
contrast-multiplier: 1.1
|
||||||
|
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: clock
|
||||||
|
hour-format: 24h
|
||||||
|
timezones:
|
||||||
|
- timezone: Etc/UTC
|
||||||
|
label: MapleStory Game Time
|
||||||
|
- timezone: Asia/Shanghai
|
||||||
|
label: Shanghai
|
||||||
|
- timezone: America/New_York
|
||||||
|
label: New York
|
||||||
|
|
||||||
|
- type: calendar
|
||||||
|
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- blurbs
|
||||||
|
- asmongold
|
||||||
|
- jembawls
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
|
||||||
|
- type: rss
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 3
|
||||||
|
cache: 3h
|
||||||
|
style: detailed-list
|
||||||
|
feeds:
|
||||||
|
- url: https://supertechfans.com/cn/index.xml
|
||||||
|
title: HackerNews
|
||||||
|
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||||
|
- UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome
|
||||||
|
- UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim
|
||||||
|
limit: 25
|
||||||
|
collapse-after-rows: 2
|
||||||
|
style: grid-cards
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
subreddit: selfhosted
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: Beijing, China
|
||||||
|
|
||||||
|
- type: bookmarks
|
||||||
|
groups:
|
||||||
|
- links:
|
||||||
|
- title: Google
|
||||||
|
url: https://google.com/
|
||||||
|
- title: Github
|
||||||
|
url: https://github.com/
|
||||||
|
- title: Hostloc
|
||||||
|
url: https://hostloc.com/
|
||||||
|
- title: Nodeseek
|
||||||
|
url: https://www.nodeseek.com/
|
||||||
|
- title: Linuxdo
|
||||||
|
url: https://linux.do/
|
||||||
|
- title: V2ex
|
||||||
|
url: https://www.v2ex.com/
|
||||||
|
- title: Entertainment
|
||||||
|
color: 10 70 50
|
||||||
|
links:
|
||||||
|
- title: Bilibli
|
||||||
|
url: https://www.bilibili.com/
|
||||||
|
- title: YouTube
|
||||||
|
url: https://www.youtube.com/
|
||||||
|
- title: Netflix
|
||||||
|
url: https://www.netflix.com/
|
||||||
|
- title: Disney+
|
||||||
|
url: https://www.disneyplus.com/
|
||||||
|
|
||||||
|
- type: markets
|
||||||
|
markets:
|
||||||
|
- symbol: SPY
|
||||||
|
name: S&P 500
|
||||||
|
- symbol: BTC-USD
|
||||||
|
name: Bitcoin
|
||||||
|
- symbol: NVDA
|
||||||
|
name: NVIDIA
|
||||||
|
- symbol: AAPL
|
||||||
|
name: Apple
|
||||||
|
- symbol: MSFT
|
||||||
|
name: Microsoft
|
||||||
|
- symbol: GOOGL
|
||||||
|
name: Google
|
||||||
|
- symbol: AMD
|
||||||
|
name: AMD
|
||||||
|
- symbol: RDDT
|
||||||
|
name: Reddit
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
glance:
|
||||||
|
image: "glanceapp/glance:v0.5.0"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||||
|
volumes:
|
||||||
|
- ${GLANCE_CONFIG_PATH}:/app/glance.yml
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<p align="center"><em>What if you could see everything at a...</em></p>
|
||||||
|
<h1 align="center">Glance</h1>
|
||||||
|
<p align="center"><a href="https://github.com/glanceapp/glance/blob/main/README.md#installation">Install</a> • <a href="https://github.com/glanceapp/glance/blob/main/docs/configuration.md">Configuration</a> • <a href="https://github.com/glanceapp/glance/blob/main/docs/themes.md">Themes</a></p>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Glance
|
||||||
|
tags:
|
||||||
|
- 建站
|
||||||
|
title: 一个自托管仪表板
|
||||||
|
description: 一个自托管仪表板
|
||||||
|
additionalProperties:
|
||||||
|
key: glance
|
||||||
|
name: Glance
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
shortDescZh: 一个自托管仪表板
|
||||||
|
shortDescEn: A self-hosted dashboard
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://github.com/glanceapp/glance
|
||||||
|
github: https://github.com/glanceapp/glance
|
||||||
|
document: https://github.com/glanceapp/glance
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
CONTAINER_NAME="glance"
|
||||||
|
GLANCE_CONFIG_PATH="./data/glance.yml"
|
||||||
|
PANEL_APP_PORT_HTTP=40281
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40281"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "./data/glance.yml"
|
||||||
|
disabled: true
|
||||||
|
envKey: GLANCE_CONFIG_PATH
|
||||||
|
labelEn: Glance Configuration Path
|
||||||
|
labelZh: Glance 配置文件路径
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
theme:
|
||||||
|
background-color: 225 14 15
|
||||||
|
primary-color: 157 47 65
|
||||||
|
contrast-multiplier: 1.1
|
||||||
|
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: clock
|
||||||
|
hour-format: 24h
|
||||||
|
timezones:
|
||||||
|
- timezone: Etc/UTC
|
||||||
|
label: MapleStory Game Time
|
||||||
|
- timezone: Asia/Shanghai
|
||||||
|
label: Shanghai
|
||||||
|
- timezone: America/New_York
|
||||||
|
label: New York
|
||||||
|
|
||||||
|
- type: calendar
|
||||||
|
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- blurbs
|
||||||
|
- asmongold
|
||||||
|
- jembawls
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
|
||||||
|
- type: rss
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 3
|
||||||
|
cache: 3h
|
||||||
|
style: detailed-list
|
||||||
|
feeds:
|
||||||
|
- url: https://supertechfans.com/cn/index.xml
|
||||||
|
title: HackerNews
|
||||||
|
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||||
|
- UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome
|
||||||
|
- UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim
|
||||||
|
limit: 25
|
||||||
|
collapse-after-rows: 2
|
||||||
|
style: grid-cards
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
subreddit: selfhosted
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: Beijing, China
|
||||||
|
|
||||||
|
- type: bookmarks
|
||||||
|
groups:
|
||||||
|
- links:
|
||||||
|
- title: Google
|
||||||
|
url: https://google.com/
|
||||||
|
- title: Github
|
||||||
|
url: https://github.com/
|
||||||
|
- title: Hostloc
|
||||||
|
url: https://hostloc.com/
|
||||||
|
- title: Nodeseek
|
||||||
|
url: https://www.nodeseek.com/
|
||||||
|
- title: Linuxdo
|
||||||
|
url: https://linux.do/
|
||||||
|
- title: V2ex
|
||||||
|
url: https://www.v2ex.com/
|
||||||
|
- title: Entertainment
|
||||||
|
color: 10 70 50
|
||||||
|
links:
|
||||||
|
- title: Bilibli
|
||||||
|
url: https://www.bilibili.com/
|
||||||
|
- title: YouTube
|
||||||
|
url: https://www.youtube.com/
|
||||||
|
- title: Netflix
|
||||||
|
url: https://www.netflix.com/
|
||||||
|
- title: Disney+
|
||||||
|
url: https://www.disneyplus.com/
|
||||||
|
|
||||||
|
- type: markets
|
||||||
|
markets:
|
||||||
|
- symbol: SPY
|
||||||
|
name: S&P 500
|
||||||
|
- symbol: BTC-USD
|
||||||
|
name: Bitcoin
|
||||||
|
- symbol: NVDA
|
||||||
|
name: NVIDIA
|
||||||
|
- symbol: AAPL
|
||||||
|
name: Apple
|
||||||
|
- symbol: MSFT
|
||||||
|
name: Microsoft
|
||||||
|
- symbol: GOOGL
|
||||||
|
name: Google
|
||||||
|
- symbol: AMD
|
||||||
|
name: AMD
|
||||||
|
- symbol: RDDT
|
||||||
|
name: Reddit
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
glance:
|
||||||
|
image: "glanceapp/glance:latest"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||||
|
volumes:
|
||||||
|
- ${GLANCE_CONFIG_PATH}:/app/glance.yml
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Loading…
Reference in New Issue