initialize repository with glance, litellm, openwebui, nas and pihole services
This commit is contained in:
0
glance/assets/user.css
Normal file
0
glance/assets/user.css
Normal file
67
glance/config-map.yaml
Normal file
67
glance/config-map.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: glance-config
|
||||
data:
|
||||
glance.yml: |
|
||||
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
|
||||
home.yml: |
|
||||
- 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
|
||||
- size: full
|
||||
widgets:
|
||||
- type: group
|
||||
widgets:
|
||||
- type: rss
|
||||
limit: 10
|
||||
collapse-after: 3
|
||||
cache: 12h
|
||||
feeds:
|
||||
- url: https://www.ruxu.dev/feed.xml
|
||||
title: Ruxu.dev
|
||||
- url: https://simonwillison.net/atom/everything/
|
||||
title: Simon Willison
|
||||
- url: https://www.gilesthomas.com/feed/rss.xml
|
||||
title: Giles Thomas
|
||||
- url: https://huggingface.co/blog/feed.xml
|
||||
title: HuggingFace Blog
|
||||
- url: https://www.philschmid.de/rss
|
||||
title: Phil Schmid
|
||||
- url: https://www.wheresyoured.at/rss/
|
||||
title: Ed Zitron
|
||||
- url: https://www.seangoedecke.com/rss.xml
|
||||
- type: hacker-news
|
||||
- type: lobsters
|
||||
- type: videos
|
||||
channels:
|
||||
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||
- UCC-lyoTfSrcJzA1ab3APAgw # LangChain
|
||||
- UCkCGANrihzExmu9QiqZpPlQ # How Money Works
|
||||
- UC55ODQSvARtgSyc8ThfiepQ # Sam Witteveen
|
||||
- UCASM0cgfkJxQ1ICmRilfHLw # Patrick Boyle
|
||||
- UCFCEuCsyWP0YkP3CZ3Mr01Q # The Plain Bagel
|
||||
- UCDXTQ8nWmx_EhZ2v-kp7QxA # Ben Felix
|
||||
- UCCKpicnIwBP3VPxBAZWDeNA # Money & Macro
|
||||
- UCFQMnBA3CS502aghlcr0_aw # Coffeezilla
|
||||
- UCsXVk37bltHxD1rDPwtNM8Q # Kurzgesagt
|
||||
- UCHlNU7kIZhRgSbhHvFoy72w # HuggingFace
|
||||
- UCeRjipR4_SsCddq9VZ2AeKg # LlamaIndex
|
||||
- size: small
|
||||
widgets:
|
||||
- type: weather
|
||||
location: Barcelona, Spain
|
||||
units: metric # alternatively "imperial"
|
||||
hour-format: 24h # alternatively "24h"
|
||||
# Optionally hide the location from being displayed in the widget
|
||||
# hide-location: true
|
||||
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
|
||||
75
glance/config/home.yml
Normal file
75
glance/config/home.yml
Normal file
@@ -0,0 +1,75 @@
|
||||
- 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
|
||||
|
||||
- size: full
|
||||
widgets:
|
||||
- type: group
|
||||
widgets:
|
||||
- type: rss
|
||||
limit: 10
|
||||
collapse-after: 3
|
||||
cache: 12h
|
||||
feeds:
|
||||
- url: https://www.ruxu.dev/feed.xml
|
||||
title: Ruxu.dev
|
||||
- url: https://simonwillison.net/atom/everything/
|
||||
title: Simon Willison
|
||||
- url: https://www.gilesthomas.com/feed/rss.xml
|
||||
title: Giles Thomas
|
||||
- url: https://huggingface.co/blog/feed.xml
|
||||
title: HuggingFace Blog
|
||||
- url: https://www.philschmid.de/rss
|
||||
title: Phil Schmid
|
||||
- url: https://www.wheresyoured.at/rss/
|
||||
title: Ed Zitron
|
||||
- url: https://www.seangoedecke.com/rss.xml
|
||||
- type: hacker-news
|
||||
- type: lobsters
|
||||
|
||||
- type: videos
|
||||
channels:
|
||||
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||
- UCC-lyoTfSrcJzA1ab3APAgw # LangChain
|
||||
- UCkCGANrihzExmu9QiqZpPlQ # How Money Works
|
||||
- UC55ODQSvARtgSyc8ThfiepQ # Sam Witteveen
|
||||
- UCASM0cgfkJxQ1ICmRilfHLw # Patrick Boyle
|
||||
- UCFCEuCsyWP0YkP3CZ3Mr01Q # The Plain Bagel
|
||||
- UCDXTQ8nWmx_EhZ2v-kp7QxA # Ben Felix
|
||||
- UCCKpicnIwBP3VPxBAZWDeNA # Money & Macro
|
||||
- UCFQMnBA3CS502aghlcr0_aw # Coffeezilla
|
||||
- UCsXVk37bltHxD1rDPwtNM8Q # Kurzgesagt
|
||||
- UCHlNU7kIZhRgSbhHvFoy72w # HuggingFace
|
||||
- UCeRjipR4_SsCddq9VZ2AeKg # LlamaIndex
|
||||
|
||||
- size: small
|
||||
widgets:
|
||||
- type: weather
|
||||
location: Barcelona, Spain
|
||||
units: metric # alternatively "imperial"
|
||||
hour-format: 24h # alternatively "24h"
|
||||
# Optionally hide the location from being displayed in the widget
|
||||
# hide-location: true
|
||||
|
||||
- type: markets
|
||||
markets:
|
||||
- symbol: IE00B03HD191.IR
|
||||
name: Vanguard Global Stock Index
|
||||
- symbol: 0P00012I66.F
|
||||
name: Vanguard Global Small-Cap Index
|
||||
- symbol: 0P0001RCAQ.F
|
||||
name: Renta 4 Renta Fija
|
||||
- symbol: IWVL.L
|
||||
name: iShares Edge MSCI World Value Factor
|
||||
- symbol: XDEQ.DE
|
||||
name: Xtracker MSCI World Quality ETF
|
||||
- symbol: 0P000060MS.F
|
||||
name: Vanguard Emerging Markets Stock Index
|
||||
|
||||
40
glance/glance.yaml
Normal file
40
glance/glance.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: glance
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: glance
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: glance
|
||||
spec:
|
||||
containers:
|
||||
- name: glance
|
||||
image: glanceapp/glance
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /app/config
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: glance-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: glance-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: glance
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
Reference in New Issue
Block a user