mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-06-01 15:59:50 +00:00
bump glance to v0.8.0 and add admin user
This commit is contained in:
parent
18e88f0aba
commit
1ef6b80b6e
@ -1,5 +1,4 @@
|
|||||||
# 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=
|
|
||||||
GITHUB_TOKEN=
|
GITHUB_TOKEN=
|
||||||
SERADAR_TOKEN=
|
SERADAR_TOKEN=
|
||||||
|
SECRET_KEY=
|
||||||
|
ADMIN_PASSWORD=
|
@ -1,16 +1,17 @@
|
|||||||
server:
|
server:
|
||||||
assets-path: /app/assets
|
assets-path: /app/assets
|
||||||
|
|
||||||
|
auth:
|
||||||
|
secret-key: ${SECRET_KEY}
|
||||||
|
users:
|
||||||
|
admin:
|
||||||
|
password: ${ADMIN_PASSWORD}
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
# Note: assets are cached by the browser, changes to the CSS file
|
background-color: 240 13 14
|
||||||
# will not be reflected until the browser cache is cleared (Ctrl+F5)
|
primary-color: 51 33 68
|
||||||
custom-css-file: /assets/user.css
|
negative-color: 358 100 68
|
||||||
background-color: 240 13 14
|
contrast-multiplier: 1.2
|
||||||
primary-color: 51 33 68
|
|
||||||
negative-color: 358 100 68
|
|
||||||
contrast-multiplier: 1.2
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
# It's not necessary to create a new file for each page and include it, you can simply
|
$include: home.yml
|
||||||
# put its contents here, though multiple pages are easier to manage when separated
|
|
||||||
!include: home.yml
|
|
||||||
|
@ -2,164 +2,164 @@
|
|||||||
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||||
# hide-desktop-navigation: true
|
# hide-desktop-navigation: true
|
||||||
columns:
|
columns:
|
||||||
- size: small
|
- size: small
|
||||||
widgets:
|
widgets:
|
||||||
- type: server-stats
|
- type: server-stats
|
||||||
servers:
|
servers:
|
||||||
- type: local
|
- type: local
|
||||||
name: Services
|
name: Services
|
||||||
|
|
||||||
- type: monitor
|
- type: monitor
|
||||||
cache: 1s
|
cache: 1s
|
||||||
title: Services
|
title: Services
|
||||||
sites:
|
sites:
|
||||||
- title: seradar.net
|
- title: seradar.net
|
||||||
url: https://seradar.net/auth
|
url: https://seradar.net/auth
|
||||||
icon: /assets/seradar.png
|
icon: /assets/seradar.png
|
||||||
- title: git.aykhans.me
|
- title: git.aykhans.me
|
||||||
url: https://git.aykhans.me/aykhans
|
url: https://git.aykhans.me/aykhans
|
||||||
icon: /assets/gitea.svg
|
icon: /assets/gitea.svg
|
||||||
- title: ftp.aykhans.me
|
- title: ftp.aykhans.me
|
||||||
url: https://ftp.aykhans.me/web/client/login
|
url: https://ftp.aykhans.me/web/client/login
|
||||||
icon: /assets/sftpgo.png
|
icon: /assets/sftpgo.png
|
||||||
- title: notes.aykhans.me
|
- title: notes.aykhans.me
|
||||||
url: https://notes.aykhans.me/signin
|
url: https://notes.aykhans.me/signin
|
||||||
icon: /assets/blinko.png
|
icon: /assets/blinko.png
|
||||||
- title: url.aykhans.me
|
- title: url.aykhans.me
|
||||||
url: https://url.aykhans.me/auth
|
url: https://url.aykhans.me/auth
|
||||||
icon: /assets/slash.svg
|
icon: /assets/slash.svg
|
||||||
- title: vault.aykhans.me
|
- title: vault.aykhans.me
|
||||||
url: https://vault.aykhans.me/#/login
|
url: https://vault.aykhans.me/#/login
|
||||||
icon: /assets/vaultwarden.svg
|
icon: /assets/vaultwarden.svg
|
||||||
- title: wg.aykhans.me
|
- title: wg.aykhans.me
|
||||||
url: https://wg.aykhans.me/
|
url: https://wg.aykhans.me/
|
||||||
icon: /assets/wireguard.png
|
icon: /assets/wireguard.png
|
||||||
- title: aykhans.me
|
- title: aykhans.me
|
||||||
url: https://aykhans.me/
|
url: https://aykhans.me/
|
||||||
icon: /assets/ghost.png
|
icon: /assets/ghost.png
|
||||||
|
|
||||||
- type: docker-containers
|
- type: docker-containers
|
||||||
cache: 0s
|
cache: 0s
|
||||||
hide-by-default: false
|
hide-by-default: false
|
||||||
|
|
||||||
- type: releases
|
- type: releases
|
||||||
cache: 1d
|
cache: 1d
|
||||||
collapse-after: 3
|
collapse-after: 3
|
||||||
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
# 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.
|
# read-only token from your Github account settings and use it here to increase the limit.
|
||||||
token: ${GITHUB_TOKEN}
|
token: ${GITHUB_TOKEN}
|
||||||
repositories:
|
repositories:
|
||||||
- caddyserver/caddy
|
- caddyserver/caddy
|
||||||
- glanceapp/glance
|
- glanceapp/glance
|
||||||
- go-gitea/gitea
|
- go-gitea/gitea
|
||||||
- drakkan/sftpgo
|
- drakkan/sftpgo
|
||||||
- blinko-space/blinko
|
- blinko-space/blinko
|
||||||
- yourselfhosted/slash
|
- yourselfhosted/slash
|
||||||
- dani-garcia/vaultwarden
|
- dani-garcia/vaultwarden
|
||||||
- wg-easy/wg-easy
|
- wg-easy/wg-easy
|
||||||
- pocketbase/pocketbase
|
- pocketbase/pocketbase
|
||||||
- prometheus/prometheus
|
- prometheus/prometheus
|
||||||
- grafana/grafana
|
- grafana/grafana
|
||||||
- TryGhost/Ghost
|
- TryGhost/Ghost
|
||||||
|
|
||||||
- size: full
|
- size: full
|
||||||
widgets:
|
widgets:
|
||||||
- type: group
|
- type: group
|
||||||
widgets:
|
widgets:
|
||||||
- type: hacker-news
|
- type: hacker-news
|
||||||
- type: lobsters
|
- type: lobsters
|
||||||
|
|
||||||
- type: rss
|
- type: rss
|
||||||
limit: 150
|
limit: 150
|
||||||
collapse-after: 5
|
collapse-after: 5
|
||||||
cache: 1h
|
cache: 1h
|
||||||
style: horizontal-cards
|
style: horizontal-cards
|
||||||
feeds:
|
feeds:
|
||||||
- url: https://registerspill.thorstenball.com/feed
|
- url: https://registerspill.thorstenball.com/feed
|
||||||
title: Thorsten Ball
|
title: Thorsten Ball
|
||||||
- url: https://selfh.st/rss/
|
- url: https://selfh.st/rss/
|
||||||
title: selfh.st
|
title: selfh.st
|
||||||
|
|
||||||
- type: custom-api
|
- type: custom-api
|
||||||
title: Seradar
|
title: Seradar
|
||||||
cache: 1m
|
cache: 1m
|
||||||
url: https://seradar.net/api/collections/series/records?page=1&perPage=1000&sort=-new_episodes
|
url: https://seradar.net/api/collections/series/records?page=1&perPage=1000&sort=-new_episodes
|
||||||
headers:
|
headers:
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: ${SERADAR_TOKEN}
|
Authorization: ${SERADAR_TOKEN}
|
||||||
template: |
|
template: |
|
||||||
{{ if eq .Response.StatusCode 200 }}
|
{{ if eq .Response.StatusCode 200 }}
|
||||||
<div class="widget widget-type-rss">
|
<div class="widget widget-type-rss">
|
||||||
<div
|
<div
|
||||||
class="widget-content widget-content-frameless"
|
class="widget-content widget-content-frameless"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="carousel-container show-right-cutoff"
|
class="carousel-container show-right-cutoff"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="cards-horizontal carousel-items-container"
|
class="cards-horizontal carousel-items-container"
|
||||||
>
|
>
|
||||||
{{ range .JSON.Array "items" }}
|
{{ range .JSON.Array "items" }}
|
||||||
<a
|
<a
|
||||||
href="https://www.themoviedb.org/tv/{{ .String "series_id" }}"
|
href="https://www.themoviedb.org/tv/{{ .String "series_id" }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
title="{{ .String "english_name" }}"
|
title="{{ .String "english_name" }}"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="card rss-card-2 widget-content-frame thumbnail-parent"
|
class="card rss-card-2 widget-content-frame thumbnail-parent"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
class="rss-card-2-image thumbnail cached finished-transition"
|
class="rss-card-2-image thumbnail cached finished-transition"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
src="{{ .String "poster_path" }}"
|
src="{{ .String "poster_path" }}"
|
||||||
alt="{{ .String "poster_path" }}"
|
alt="{{ .String "poster_path" }}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="rss-card-2-content padding-inline-widget"
|
class="rss-card-2-content padding-inline-widget"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.themoviedb.org/tv/{{ .String "series_id" }}"
|
href="https://www.themoviedb.org/tv/{{ .String "series_id" }}"
|
||||||
class="text-truncate-3-lines color-positive margin-top-10 size-h4"
|
class="text-truncate-3-lines color-positive margin-top-10 size-h4"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
title="{{ .String "english_name" }}"
|
title="{{ .String "english_name" }}"
|
||||||
>{{ .String "english_name" }}</a>
|
>{{ .String "english_name" }}</a>
|
||||||
{{ if gt (.Int "new_episodes") 0 }}
|
{{ if gt (.Int "new_episodes") 0 }}
|
||||||
<p class="color-highlight">+{{ .Int "new_episodes" }} new episodes</p>
|
<p class="color-highlight">+{{ .Int "new_episodes" }} new episodes</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p>no new episodes</p>
|
<p>no new episodes</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p class="color-negative">Failed to fetch seradar.net data</p>
|
<p class="color-negative">Failed to fetch seradar.net data</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
- size: small
|
- size: small
|
||||||
widgets:
|
widgets:
|
||||||
- type: calendar
|
- type: calendar
|
||||||
first-day-of-week: monday
|
first-day-of-week: monday
|
||||||
|
|
||||||
- type: weather
|
- type: weather
|
||||||
location: Baku, Azerbaijan
|
location: Baku, Azerbaijan
|
||||||
units: metric # alternatively "imperial"
|
units: metric # alternatively "imperial"
|
||||||
hour-format: 12h # alternatively "24h"
|
hour-format: 12h # alternatively "24h"
|
||||||
|
|
||||||
- type: markets
|
- type: markets
|
||||||
markets:
|
markets:
|
||||||
- symbol: BTC-USD
|
- symbol: BTC-USD
|
||||||
name: Bitcoin
|
name: Bitcoin
|
||||||
- symbol: DYDX-USD
|
- symbol: DYDX-USD
|
||||||
name: DYDX
|
name: DYDX
|
||||||
- symbol: FET-USD
|
- symbol: FET-USD
|
||||||
name: FET
|
name: FET
|
||||||
- symbol: SUI20947-USD
|
- symbol: SUI20947-USD
|
||||||
name: SUI
|
name: SUI
|
||||||
|
@ -8,7 +8,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
glance:
|
glance:
|
||||||
image: glanceapp/glance:v0.7.13
|
image: glanceapp/glance:v0.8.0
|
||||||
container_name: glance
|
container_name: glance
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user