Add homepage

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-24 01:13:55 +02:00
parent 51a014e14c
commit 5eef332e34
15 changed files with 126 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View 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

View File

View 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

View File

@ -0,0 +1,2 @@
---
# sample kubernetes config

View 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

View 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

View 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

View 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

View File

@ -0,0 +1,2 @@
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
#PSITRANSFER_PORT=3000

View File

@ -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:

View File

@ -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: