[add] glance
This commit is contained in:
parent
8a0031a346
commit
501449d9b0
6 changed files with 131 additions and 9 deletions
|
@ -77,19 +77,26 @@ digraph saffron {
|
|||
}
|
||||
subgraph cluster_f {
|
||||
label = "odroid-n2";
|
||||
rankdir=TB
|
||||
rankdir="TB"
|
||||
|
||||
bgcolor = "#FFDEAD";
|
||||
f1 [label = "kodi:8080";href = "http://odroid-n2:8080";tooltip = "kodi";];
|
||||
f2 [label = "beszel-agent";href = "http://fins.local:8090/system/odroid-n2";tooltip = "Beszel agent";];
|
||||
rank=max;
|
||||
x1 [label = "p";shape = "oval"; width=1;
|
||||
href = "https://odroid-n2:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||
x2 [label = "b";shape = "oval"; width=1;
|
||||
href = "http://fins.local:8090/system/odroid-n2";tooltip = "beszel"; fillcolor=yellow ;];
|
||||
{rank="max";x1 x2}
|
||||
|
||||
x1 [label = "p";shape = "oval"; area=0.1 href = "https://odroid-n2:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||
x2 [label = "n";shape = "oval";href = "http://odroid-n2:19999";tooltip = "netdata"; fillcolor=yellow ;];
|
||||
|
||||
f1 [label = "kodi:8080";href = "http://odroid-n2:8080";tooltip = "kodi";];
|
||||
|
||||
|
||||
x1->f1[style=invis];
|
||||
x2->f1[style=invis];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
subgraph cluster_g {
|
||||
label = "n2-plus";
|
||||
bgcolor = "#FFDEAD";
|
||||
|
@ -118,6 +125,6 @@ digraph saffron {
|
|||
c8 -> d5;
|
||||
d7 -> d5;
|
||||
e8 -> d5;
|
||||
f2 -> d5;
|
||||
|
||||
g5 -> d5;
|
||||
}
|
3
glance/.env
Normal file
3
glance/.env
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Variables defined here will be available to use anywhere in the config with the syntax ${MY_SECRET_TOKEN}
|
||||
# Note: making changes to this file requires re-running docker compose up
|
||||
MY_SECRET_TOKEN=123456
|
0
glance/assets/user.css
Normal file
0
glance/assets/user.css
Normal file
12
glance/config/glance.yml
Normal file
12
glance/config/glance.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
server:
|
||||
assets-path: /app/assets
|
||||
|
||||
theme:
|
||||
# Note: assets are cached by the browser, changes to the CSS file
|
||||
# will not be reflected until the browser cache is cleared (Ctrl+F5)
|
||||
custom-css-file: /assets/user.css
|
||||
|
||||
pages:
|
||||
# It's not necessary to create a new file for each page and include it, you can simply
|
||||
# put its contents here, though multiple pages are easier to manage when separated
|
||||
!include: home.yml
|
88
glance/config/home.yml
Normal file
88
glance/config/home.yml
Normal file
|
@ -0,0 +1,88 @@
|
|||
- name: Home
|
||||
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||
# hide-desktop-navigation: true
|
||||
columns:
|
||||
- size: small
|
||||
widgets:
|
||||
- type: calendar
|
||||
first-day-of-week: monday
|
||||
|
||||
- type: rss
|
||||
limit: 10
|
||||
collapse-after: 3
|
||||
cache: 12h
|
||||
feeds:
|
||||
- url: https://selfh.st/rss/
|
||||
title: selfh.st
|
||||
- url: https://ciechanow.ski/atom.xml
|
||||
- url: https://www.joshwcomeau.com/rss.xml
|
||||
title: Josh Comeau
|
||||
- url: https://samwho.dev/rss.xml
|
||||
- url: https://ishadeed.com/feed.xml
|
||||
title: Ahmad Shadeed
|
||||
|
||||
- type: twitch-channels
|
||||
channels:
|
||||
- theprimeagen
|
||||
- j_blow
|
||||
- piratesoftware
|
||||
- cohhcarnage
|
||||
- christitustech
|
||||
- EJ_SA
|
||||
|
||||
- size: full
|
||||
widgets:
|
||||
- type: group
|
||||
widgets:
|
||||
- type: hacker-news
|
||||
- type: lobsters
|
||||
|
||||
- type: videos
|
||||
channels:
|
||||
- UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips
|
||||
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||
- UCBJycsmduvYEL83R_U4JriQ # Marques Brownlee
|
||||
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||
|
||||
- type: group
|
||||
widgets:
|
||||
- type: reddit
|
||||
subreddit: technology
|
||||
show-thumbnails: true
|
||||
- type: reddit
|
||||
subreddit: selfhosted
|
||||
show-thumbnails: true
|
||||
|
||||
- size: small
|
||||
widgets:
|
||||
- type: weather
|
||||
location: London, United Kingdom
|
||||
units: metric # alternatively "imperial"
|
||||
hour-format: 12h # alternatively "24h"
|
||||
# Optionally hide the location from being displayed in the widget
|
||||
# hide-location: true
|
||||
|
||||
- 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
|
||||
|
||||
- type: releases
|
||||
cache: 1d
|
||||
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
||||
# read-only token from your Github account settings and use it here to increase the limit.
|
||||
# token: ...
|
||||
repositories:
|
||||
- glanceapp/glance
|
||||
- go-gitea/gitea
|
||||
- immich-app/immich
|
||||
- syncthing/syncthing
|
12
glance/docker-compose.yml
Normal file
12
glance/docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
glance:
|
||||
container_name: glance
|
||||
image: glanceapp/glance
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- ./assets:/app/assets
|
||||
# Optionally, also mount docker socket if you want to use the docker containers widget
|
||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
ports:
|
||||
- 3050:8080
|
||||
env_file: .env
|
Loading…
Add table
Reference in a new issue