mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-06-30 22:25:48 +02:00
Improve docker-compose
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
51
infrastructure/services/homepage/config/bookmarks.yaml
Normal file
51
infrastructure/services/homepage/config/bookmarks.yaml
Normal file
@ -0,0 +1,51 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/bookmarks
|
||||
|
||||
- Developer:
|
||||
- Github:
|
||||
- abbr: GH
|
||||
href: https://github.com/bensuperpc
|
||||
description: github.com
|
||||
|
||||
- Social:
|
||||
- Reddit:
|
||||
- abbr: RE
|
||||
href: https://reddit.com/u/bensuperpc
|
||||
description: reddit.com
|
||||
- Twitter:
|
||||
- abbr: TW
|
||||
href: https://twitter.com/bensuperpc
|
||||
description: twitter.com
|
||||
- Bluesky:
|
||||
- abbr: BS
|
||||
href: https://bsky.app/profile/bensuperpc.bsky.social
|
||||
description: bsky.app
|
||||
- Mastodon:
|
||||
- abbr: MA
|
||||
href: https://mastodon.social/@bensuperpc
|
||||
description: mastodon.social
|
||||
|
||||
- Entertainment:
|
||||
- YouTube:
|
||||
- abbr: YT
|
||||
href: https://youtube.com/c/bensuperpc
|
||||
description: youtube.com
|
||||
- Twitch:
|
||||
- abbr: TW
|
||||
href: https://twitch.tv/bensuperpc
|
||||
description: twitch.tv
|
||||
|
||||
- Friends:
|
||||
- Gnous:
|
||||
- abbr: Gn
|
||||
href: https://gnous.eu/
|
||||
description: gnous.eu
|
||||
- Imagisphe:
|
||||
- abbr: IM
|
||||
href: https://imagisphe.re/
|
||||
description: imagisphe.re
|
||||
- Greep:
|
||||
- abbr: GP
|
||||
href: https://greep.fr/#/
|
||||
description: greep.fr
|
0
infrastructure/services/homepage/config/custom.css
Normal file
0
infrastructure/services/homepage/config/custom.css
Normal file
0
infrastructure/services/homepage/config/custom.js
Normal file
0
infrastructure/services/homepage/config/custom.js
Normal file
10
infrastructure/services/homepage/config/docker.yaml
Normal file
10
infrastructure/services/homepage/config/docker.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/docker/
|
||||
|
||||
#jellyfin:
|
||||
# host: jellyfin
|
||||
# port: 8096
|
||||
|
||||
#my-docker:
|
||||
# socket: /var/run/docker.sock
|
2
infrastructure/services/homepage/config/kubernetes.yaml
Normal file
2
infrastructure/services/homepage/config/kubernetes.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# sample kubernetes config
|
133
infrastructure/services/homepage/config/services.yaml
Normal file
133
infrastructure/services/homepage/config/services.yaml
Normal file
@ -0,0 +1,133 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/services
|
||||
|
||||
- Personal:
|
||||
- wordpress:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
||||
href: https://wordpress.bensuperpc.org/
|
||||
description: Wordpress
|
||||
ping: wordpress.bensuperpc.org
|
||||
container: wordpress
|
||||
- jellyfin:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyfin.png
|
||||
href: https://jellyfin.bensuperpc.org/
|
||||
description: Jellyfin
|
||||
ping: jellyfin.bensuperpc.org
|
||||
container: jellyfin
|
||||
- projectsend:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/projectsend.png
|
||||
href: https://projectsend.bensuperpc.org/
|
||||
description: ProjectSend
|
||||
ping: projectsend.bensuperpc.org
|
||||
container: projectsend
|
||||
- Sharing:
|
||||
- psitransfer:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||
href: https://psitransfer.bensuperpc.org/
|
||||
description: PsiTransfer
|
||||
ping: psitransfer.bensuperpc.org
|
||||
container: psitransfer
|
||||
- picoshare:
|
||||
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/picoshare.png
|
||||
href: https://picoshare.bensuperpc.org/
|
||||
description: PicoShare
|
||||
ping: picoshare.bensuperpc.org
|
||||
container: picoshare
|
||||
- privatebin:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/privatebin.png
|
||||
href: https://privatebin.bensuperpc.org/
|
||||
description: PrivateBin
|
||||
ping: privatebin.bensuperpc.org
|
||||
container: privatebin
|
||||
- qbittorrent:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
||||
href: https://qbittorrent.bensuperpc.org/
|
||||
description: qBittorrent
|
||||
ping: qbittorrent.bensuperpc.org
|
||||
container: qbittorrent
|
||||
- syncthing:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/syncthing.png
|
||||
href: https://syncthing.bensuperpc.org/
|
||||
description: Syncthing
|
||||
ping: syncthing.bensuperpc.org
|
||||
container: syncthing
|
||||
- transmission:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/transmission.png
|
||||
href: https://transmission.bensuperpc.org/
|
||||
description: Transmission
|
||||
ping: transmission.bensuperpc.org
|
||||
container: transmission
|
||||
- dufs:
|
||||
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/dufs.png
|
||||
href: https://dufs.bensuperpc.org/
|
||||
description: Dufs
|
||||
ping: dufs.bensuperpc.org
|
||||
container: dufs
|
||||
- caddy:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/caddy.png
|
||||
href: https://public.bensuperpc.org/
|
||||
description: File browser
|
||||
ping: public.bensuperpc.org
|
||||
container: caddy
|
||||
|
||||
- Utils:
|
||||
- it-tools:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/it-tools.png
|
||||
href: https://it-tools.bensuperpc.org/
|
||||
description: IT Tools
|
||||
ping: it-tools.bensuperpc.org
|
||||
container: it-tools0
|
||||
- stirlingpdf:
|
||||
#icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/stirlingpdf.png
|
||||
href: https://stirlingpdf.bensuperpc.org/
|
||||
description: StirlingPDF
|
||||
ping: stirlingpdf.bensuperpc.org
|
||||
container: stirlingpdf
|
||||
- gitea:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
|
||||
href: https://gitea.bensuperpc.org/
|
||||
description: Gitea
|
||||
ping: gitea.bensuperpc.org
|
||||
container: gitea
|
||||
|
||||
- Admin:
|
||||
- uptime-kuma:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
||||
href: https://uptimekuma.bensuperpc.org/
|
||||
description: Uptime Kuma
|
||||
ping: uptimekuma.bensuperpc.org
|
||||
container: uptime-kuma
|
||||
- yacht:
|
||||
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/yacht.png
|
||||
href: https://yacht.bensuperpc.org/
|
||||
description: Yacht
|
||||
ping: yacht.bensuperpc.org
|
||||
container: yacht
|
||||
- adminer:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/adminer.png
|
||||
href: https://adminer.bensuperpc.org/
|
||||
description: Adminer
|
||||
ping: adminer.bensuperpc.org
|
||||
container: adminer
|
||||
|
||||
- Games:
|
||||
- minecraft:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/minecraft.png
|
||||
# href: https://minecraft.bensuperpc.org/
|
||||
description: Minecraft server
|
||||
# ping: minecraft.bensuperpc.org
|
||||
container: minecraft-server
|
||||
- 7dtd:
|
||||
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/7dtd.png
|
||||
# href: https://7dtd.bensuperpc.org/
|
||||
description: 7 Days to Die server
|
||||
# ping: 7dtd.bensuperpc.org
|
||||
container: 7dtd-server
|
||||
- satisfactory:
|
||||
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/7dtd.png
|
||||
# href: https://7dtd.bensuperpc.org/
|
||||
description: Satisfactory server
|
||||
# ping: 7dtd.bensuperpc.org
|
||||
container: satisfactory-server
|
||||
|
56
infrastructure/services/homepage/config/settings.yaml
Normal file
56
infrastructure/services/homepage/config/settings.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/settings
|
||||
|
||||
title: Bensuperpc
|
||||
|
||||
base: https://www.bensuperpc.org
|
||||
|
||||
favicon: /image/favicon.ico
|
||||
|
||||
logpath: /app/logs
|
||||
|
||||
background:
|
||||
image: /image/background.jpg
|
||||
blur: md
|
||||
opacity: 50
|
||||
brightness: 50
|
||||
|
||||
theme: dark
|
||||
color: slate
|
||||
|
||||
language: en
|
||||
|
||||
layout:
|
||||
Personal:
|
||||
style: row
|
||||
columns: 6
|
||||
Sharing:
|
||||
style: row
|
||||
columns: 6
|
||||
Admin:
|
||||
style: row
|
||||
columns: 6
|
||||
Utils:
|
||||
style: row
|
||||
columns: 6
|
||||
initiallyCollapsed: false
|
||||
Games:
|
||||
style: row
|
||||
columns: 6
|
||||
initiallyCollapsed: false
|
||||
|
||||
quicklaunch:
|
||||
searchDescriptions: true
|
||||
hideInternetSearch: false
|
||||
hideVisitURL: false
|
||||
|
||||
hideVersion: true
|
||||
|
||||
headerStyle: boxed
|
||||
|
||||
useEqualHeights: true
|
||||
|
||||
#providers:
|
||||
# openweathermap: openweathermapapikey
|
||||
# weatherapi: weatherapiapikey
|
37
infrastructure/services/homepage/config/widgets.yaml
Normal file
37
infrastructure/services/homepage/config/widgets.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/service-widgets
|
||||
# https://gethomepage.dev/main/widgets/services/qbittorrent
|
||||
|
||||
#- logo:
|
||||
# icon: /image/daisy.jpg
|
||||
|
||||
- resources:
|
||||
cpu: true
|
||||
cputemp: true
|
||||
memory: true
|
||||
disk: /
|
||||
uptime: true
|
||||
refresh: 3000
|
||||
|
||||
#- search:
|
||||
# provider: duckduckgo
|
||||
# target: _blank
|
||||
# showSearchSuggestions: true
|
||||
|
||||
- datetime:
|
||||
text_size: xl
|
||||
locale: fr
|
||||
format:
|
||||
timeStyle: short
|
||||
dateStyle: short
|
||||
|
||||
- openmeteo:
|
||||
label: Nantes # optional
|
||||
latitude: 47.216671
|
||||
longitude: -1.55
|
||||
timezone: Europe/Paris # optional
|
||||
units: metric # or imperial
|
||||
cache: 5 # Time in minutes to cache API responses, to stay within limits
|
||||
format: # optional, Intl.NumberFormat options
|
||||
maximumFractionDigits: 1
|
30
infrastructure/services/homepage/docker-compose.homepage.yml
Normal file
30
infrastructure/services/homepage/docker-compose.homepage.yml
Normal file
@ -0,0 +1,30 @@
|
||||
services:
|
||||
# homepage
|
||||
homepage:
|
||||
image: ghcr.io/gethomepage/homepage:latest
|
||||
container_name: homepage
|
||||
profiles:
|
||||
- homepage
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./env/homepage.env
|
||||
volumes:
|
||||
- homepage_log:/app/logs
|
||||
- ./config:/app/config:ro
|
||||
- ./image:/app/public/image:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
# develop:
|
||||
# watch:
|
||||
# - action: sync+restart
|
||||
# path: ./homepage/image
|
||||
# target: /app/public/image
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
volumes:
|
||||
homepage_log:
|
||||
name: homepage_log
|
2
infrastructure/services/homepage/env/homepage.env
vendored
Normal file
2
infrastructure/services/homepage/env/homepage.env
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
||||
#PSITRANSFER_PORT=3000
|
BIN
infrastructure/services/homepage/image/background.jpg
Normal file
BIN
infrastructure/services/homepage/image/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 569 KiB |
BIN
infrastructure/services/homepage/image/daisy.jpg
Normal file
BIN
infrastructure/services/homepage/image/daisy.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
infrastructure/services/homepage/image/favicon.ico
Normal file
BIN
infrastructure/services/homepage/image/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 295 KiB |
Reference in New Issue
Block a user