mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Add homepage
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
51a014e14c
commit
5eef332e34
2
Makefile
2
Makefile
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
DOCKER := docker
|
DOCKER := docker
|
||||||
|
|
||||||
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin linkstack watchtower
|
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin linkstack homepage watchtower
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
|
||||||
# gitea-runner transmission
|
# gitea-runner transmission
|
||||||
|
@ -213,6 +213,7 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
|
|||||||
- [It-tools](https://github.com/CorentinTh/it-tools)
|
- [It-tools](https://github.com/CorentinTh/it-tools)
|
||||||
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
|
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
|
||||||
- [Linkstack](https://linkstack.org)
|
- [Linkstack](https://linkstack.org)
|
||||||
|
- [Homepage Tuto](https://belginux.com/installer-homepage-avec-docker/)
|
||||||
- [Imagisphe](https://imagisphe.re/)
|
- [Imagisphe](https://imagisphe.re/)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
@ -109,6 +109,10 @@ linkstack.bensuperpc.org {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
homepage.bensuperpc.org {
|
||||||
|
reverse_proxy homepage:3000
|
||||||
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
# TODO: Use service with database
|
# TODO: Use service with database
|
||||||
# Friendly links
|
# Friendly links
|
||||||
|
18
infrastructure/homepage/config/bookmarks.yaml
Normal file
18
infrastructure/homepage/config/bookmarks.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
# For configuration options and examples, please see:
|
||||||
|
# https://gethomepage.dev/latest/configs/bookmarks
|
||||||
|
|
||||||
|
- Developer:
|
||||||
|
- Github:
|
||||||
|
- abbr: GH
|
||||||
|
href: https://github.com/bensuperpc
|
||||||
|
|
||||||
|
- Social:
|
||||||
|
- Reddit:
|
||||||
|
- abbr: RE
|
||||||
|
href: https://reddit.com/u/bensuperpc
|
||||||
|
|
||||||
|
- Entertainment:
|
||||||
|
- YouTube:
|
||||||
|
- abbr: YT
|
||||||
|
href: https://youtube.com/c/bensuperpc
|
0
infrastructure/homepage/config/custom.css
Normal file
0
infrastructure/homepage/config/custom.css
Normal file
0
infrastructure/homepage/config/custom.js
Normal file
0
infrastructure/homepage/config/custom.js
Normal file
10
infrastructure/homepage/config/docker.yaml
Normal file
10
infrastructure/homepage/config/docker.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
# For configuration options and examples, please see:
|
||||||
|
# https://gethomepage.dev/latest/configs/docker/
|
||||||
|
|
||||||
|
# my-docker:
|
||||||
|
# host: 127.0.0.1
|
||||||
|
# port: 2375
|
||||||
|
|
||||||
|
#my-docker:
|
||||||
|
# socket: /var/run/docker.sock
|
2
infrastructure/homepage/config/kubernetes.yaml
Normal file
2
infrastructure/homepage/config/kubernetes.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
# sample kubernetes config
|
30
infrastructure/homepage/config/services.yaml
Normal file
30
infrastructure/homepage/config/services.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
# For configuration options and examples, please see:
|
||||||
|
# https://gethomepage.dev/latest/configs/services
|
||||||
|
|
||||||
|
- Blog:
|
||||||
|
- wordpress:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
||||||
|
href: https://www.bensuperpc.org/
|
||||||
|
description: Wordpress
|
||||||
|
|
||||||
|
- Media:
|
||||||
|
- jellyfin:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyfin.png
|
||||||
|
href: https://jellyfin.bensuperpc.org/
|
||||||
|
description: Jellyfin
|
||||||
|
|
||||||
|
- 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
|
||||||
|
- psitransfer:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||||
|
href: https://psitransfer.bensuperpc.org/
|
||||||
|
description: PsiTransfer
|
||||||
|
- gitea:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
|
||||||
|
href: https://gitea.bensuperpc.org/
|
||||||
|
description: Gitea
|
||||||
|
|
13
infrastructure/homepage/config/settings.yaml
Normal file
13
infrastructure/homepage/config/settings.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
# For configuration options and examples, please see:
|
||||||
|
# https://gethomepage.dev/latest/configs/settings
|
||||||
|
|
||||||
|
title: Bensuperpc
|
||||||
|
|
||||||
|
headerStyle: boxedWidgets
|
||||||
|
|
||||||
|
useEqualHeights: true
|
||||||
|
|
||||||
|
providers:
|
||||||
|
openweathermap: openweathermapapikey
|
||||||
|
weatherapi: weatherapiapikey
|
19
infrastructure/homepage/config/widgets.yaml
Normal file
19
infrastructure/homepage/config/widgets.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
# For configuration options and examples, please see:
|
||||||
|
# https://gethomepage.dev/latest/configs/service-widgets
|
||||||
|
|
||||||
|
- resources:
|
||||||
|
cpu: true
|
||||||
|
memory: true
|
||||||
|
disk: /
|
||||||
|
|
||||||
|
- search:
|
||||||
|
provider: duckduckgo
|
||||||
|
target: _blank
|
||||||
|
|
||||||
|
- datetime:
|
||||||
|
text_size: xl
|
||||||
|
locale: fr
|
||||||
|
format:
|
||||||
|
timeStyle: long
|
||||||
|
dateStyle: long
|
24
infrastructure/homepage/docker-compose.homepage.yml
Normal file
24
infrastructure/homepage/docker-compose.homepage.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
services:
|
||||||
|
# homepage
|
||||||
|
homepage:
|
||||||
|
image: ghcr.io/gethomepage/homepage:latest
|
||||||
|
container_name: homepage
|
||||||
|
profiles:
|
||||||
|
- homepage
|
||||||
|
restart: on-failure:5
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
env_file:
|
||||||
|
- ./homepage/env/homepage.env
|
||||||
|
volumes:
|
||||||
|
- ./homepage/config:/app/config
|
||||||
|
- homepage_log:/app/config/logs
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
homepage_log:
|
||||||
|
name: homepage_log
|
2
infrastructure/homepage/env/homepage.env
vendored
Normal file
2
infrastructure/homepage/env/homepage.env
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
||||||
|
#PSITRANSFER_PORT=3000
|
@ -12,7 +12,7 @@ services:
|
|||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
read_only: true
|
read_only: false
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -16,6 +16,7 @@ services:
|
|||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
read_only: true
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
Loading…
Reference in New Issue
Block a user