Update services

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-25 14:30:04 +02:00
parent fe327d654a
commit b8259bf676
9 changed files with 116 additions and 7 deletions

View File

@ -13,7 +13,7 @@
DOCKER := docker
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage yacht
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
# gitea-runner transmission dozzle watchtower

View File

@ -24,6 +24,7 @@ If you have any **questions** or **suggestions**, feel free to open an issue or
- [x] PsiTransfer (File sharing)
- [x] it-tools (Tools for IT)
- [x] Privatebin (Pastebin)
- [x] Yacht (Web interface for managing docker containers)
## Screenshots
@ -35,7 +36,7 @@ If you have any **questions** or **suggestions**, feel free to open an issue or
- [Docker Compose](https://docs.docker.com/compose/install/)
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- [Web domain](https://www.ovh.com/world/domains/) (I use OVH)
- [Open port 80, 443, 2222 on your router](http://192.168.0.1/)
- [Open port 80, 443, 22 on your router](http://192.168.1.1/)
***To avoid get rate limit from letsencrypt (10 certificates per 3 hours), you need to disable some certificates in the caddyfiles and enable them 3h later...***
@ -79,6 +80,8 @@ And then, caddy will generate the certificate for you and renew it automatically
| [psitransfer.bensuperpc.org](https://psitransfer.bensuperpc.org) | Sub | PsiTransfer for file sharing |
| [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) | Sub | Tools for IT |
| [privatebin.bensuperpc.org](https://privatebin.bensuperpc.org) | Sub | Pastebin |
| [yacht.bensuperpc.org](https://yacht.bensuperpc.org) | Sub | Web interface for managing docker containers |
| [homepage.bensuperpc.org](https://homepage.bensuperpc.org) | Sub | Homepage |
| bensuperpc.com | Main | Redirect to bensuperpc.org |
| bensuperpc.fr | Main | Redirect to bensuperpc.org |
| bensuperpc.net | Main | Redirect to bensuperpc.org |
@ -147,6 +150,12 @@ For [psitransfer.env](infrastructure/psitransfer/env/psitransfer.env) file, you
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
```
For [yacht.env](infrastructure/yacht/env/yacht.env) file, you need to change the secret key.
```sh
SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8
```
### Start the infrastructure
Start the website with:
@ -184,6 +193,8 @@ You can find all service on this table:
| PsiTransfer | PsiTransfer for file sharing | [psitransfer.bensuperpc.org](https://psitransfer.bensuperpc.org) |
| it-tools | Tools for IT | [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) |
| Privatebin | Pastebin | [privatebin.bensuperpc.org](https://privatebin.bensuperpc.org) |
| Yacht | Web interface for managing docker containers | [yacht.bensuperpc.org](https://yacht.bensuperpc.org) |
| Homepage | Homepage | [homepage.bensuperpc.org](https://homepage.bensuperpc.org) |
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.
@ -214,6 +225,7 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
- [ghost](https://ghost.org)
- [Homepage Tuto](https://belginux.com/installer-homepage-avec-docker/)
- [Yacht](https://yacht.sh/)
- [Imagisphe](https://imagisphe.re/)
## License

View File

@ -109,6 +109,10 @@ dozzle.bensuperpc.org {
reverse_proxy dozzle:8080
}
yacht.bensuperpc.org {
reverse_proxy yacht:8000
}
link.bensuperpc.org {
# TODO: Use service with database
# Friendly links

View File

@ -2,9 +2,9 @@
# For configuration options and examples, please see:
# https://gethomepage.dev/latest/configs/docker/
# my-docker:
# host: 127.0.0.1
# port: 2375
#jellyfin:
# host: jellyfin
# port: 8096
#my-docker:
# socket: /var/run/docker.sock

View File

@ -7,44 +7,104 @@
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
href: https://www.bensuperpc.org/
description: Wordpress
ping: bensuperpc.org
container: wordpress
- 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
- dozzle:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/dozzle.png
href: https://dozzle.bensuperpc.org/
description: Dozzle
ping: dozzle.bensuperpc.org
container: dozzle
- Sharing:
- 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
- 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
- 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
- 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-tools
- 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
- 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
- Others:
- gitea-runner:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
# href: https://gitea.bensuperpc.org/
description: Gitea Runner
ping: gitea.bensuperpc.org
container: gitea-runner
- watchtower:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/watchtower.png
#href: https://watchtower.bensuperpc.org/
description: Watchtower
ping: watchtower.bensuperpc.org
container: watchtower

View File

@ -6,7 +6,7 @@ title: Bensuperpc
base: https://homepage.bensuperpc.org
#favicon: /images/favicon.ico
favicon: /images/favicon.ico
logpath: /app/logs
@ -19,7 +19,7 @@ background:
theme: dark
color: slate
language: fr
language: en
layout:
Personal:
@ -35,6 +35,14 @@ layout:
style: row
columns: 6
initiallyCollapsed: false
Others:
style: row
columns: 6
initiallyCollapsed: false
Games:
style: row
columns: 6
initiallyCollapsed: false
quicklaunch:
searchDescriptions: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

View File

@ -0,0 +1,23 @@
services:
# yacht
yacht:
image: selfhostedpro/yacht:latest
container_name: yacht
profiles:
- yacht
restart: on-failure:5
depends_on:
- caddy
env_file:
- ./yacht/env/yacht.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- yacht_config:/config
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
yacht_config:
name: yacht_config

2
infrastructure/yacht/env/yacht.env vendored Normal file
View File

@ -0,0 +1,2 @@
ADMIN_EMAIL=bensuperpc@gmail.com
SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8