mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update services
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
fe327d654a
commit
b8259bf676
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 homepage
|
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage yacht
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
|
||||||
# gitea-runner transmission dozzle watchtower
|
# gitea-runner transmission dozzle watchtower
|
||||||
|
14
README.md
14
README.md
@ -24,6 +24,7 @@ If you have any **questions** or **suggestions**, feel free to open an issue or
|
|||||||
- [x] PsiTransfer (File sharing)
|
- [x] PsiTransfer (File sharing)
|
||||||
- [x] it-tools (Tools for IT)
|
- [x] it-tools (Tools for IT)
|
||||||
- [x] Privatebin (Pastebin)
|
- [x] Privatebin (Pastebin)
|
||||||
|
- [x] Yacht (Web interface for managing docker containers)
|
||||||
|
|
||||||
## Screenshots
|
## 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/)
|
- [Docker Compose](https://docs.docker.com/compose/install/)
|
||||||
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
|
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
|
||||||
- [Web domain](https://www.ovh.com/world/domains/) (I use OVH)
|
- [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...***
|
***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 |
|
| [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 |
|
| [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) | Sub | Tools for IT |
|
||||||
| [privatebin.bensuperpc.org](https://privatebin.bensuperpc.org) | Sub | Pastebin |
|
| [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.com | Main | Redirect to bensuperpc.org |
|
||||||
| bensuperpc.fr | Main | Redirect to bensuperpc.org |
|
| bensuperpc.fr | Main | Redirect to bensuperpc.org |
|
||||||
| bensuperpc.net | 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
|
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 infrastructure
|
||||||
|
|
||||||
Start the website with:
|
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) |
|
| 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) |
|
| it-tools | Tools for IT | [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) |
|
||||||
| Privatebin | Pastebin | [privatebin.bensuperpc.org](https://privatebin.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.
|
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)
|
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
|
||||||
- [ghost](https://ghost.org)
|
- [ghost](https://ghost.org)
|
||||||
- [Homepage Tuto](https://belginux.com/installer-homepage-avec-docker/)
|
- [Homepage Tuto](https://belginux.com/installer-homepage-avec-docker/)
|
||||||
|
- [Yacht](https://yacht.sh/)
|
||||||
- [Imagisphe](https://imagisphe.re/)
|
- [Imagisphe](https://imagisphe.re/)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
@ -109,6 +109,10 @@ dozzle.bensuperpc.org {
|
|||||||
reverse_proxy dozzle:8080
|
reverse_proxy dozzle:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
yacht.bensuperpc.org {
|
||||||
|
reverse_proxy yacht:8000
|
||||||
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
# TODO: Use service with database
|
# TODO: Use service with database
|
||||||
# Friendly links
|
# Friendly links
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
# For configuration options and examples, please see:
|
# For configuration options and examples, please see:
|
||||||
# https://gethomepage.dev/latest/configs/docker/
|
# https://gethomepage.dev/latest/configs/docker/
|
||||||
|
|
||||||
# my-docker:
|
#jellyfin:
|
||||||
# host: 127.0.0.1
|
# host: jellyfin
|
||||||
# port: 2375
|
# port: 8096
|
||||||
|
|
||||||
#my-docker:
|
#my-docker:
|
||||||
# socket: /var/run/docker.sock
|
# socket: /var/run/docker.sock
|
||||||
|
@ -7,44 +7,104 @@
|
|||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
||||||
href: https://www.bensuperpc.org/
|
href: https://www.bensuperpc.org/
|
||||||
description: Wordpress
|
description: Wordpress
|
||||||
|
ping: bensuperpc.org
|
||||||
|
container: wordpress
|
||||||
- uptime-kuma:
|
- uptime-kuma:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
||||||
href: https://uptimekuma.bensuperpc.org/
|
href: https://uptimekuma.bensuperpc.org/
|
||||||
description: Uptime Kuma
|
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:
|
- Sharing:
|
||||||
- jellyfin:
|
- jellyfin:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyfin.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyfin.png
|
||||||
href: https://jellyfin.bensuperpc.org/
|
href: https://jellyfin.bensuperpc.org/
|
||||||
description: Jellyfin
|
description: Jellyfin
|
||||||
|
ping: jellyfin.bensuperpc.org
|
||||||
|
container: jellyfin
|
||||||
- psitransfer:
|
- psitransfer:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||||
href: https://psitransfer.bensuperpc.org/
|
href: https://psitransfer.bensuperpc.org/
|
||||||
description: PsiTransfer
|
description: PsiTransfer
|
||||||
|
ping: psitransfer.bensuperpc.org
|
||||||
|
container: psitransfer
|
||||||
- privatebin:
|
- privatebin:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/privatebin.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/privatebin.png
|
||||||
href: https://privatebin.bensuperpc.org/
|
href: https://privatebin.bensuperpc.org/
|
||||||
description: PrivateBin
|
description: PrivateBin
|
||||||
|
ping: privatebin.bensuperpc.org
|
||||||
|
container: privatebin
|
||||||
- qbittorrent:
|
- qbittorrent:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
||||||
href: https://qbittorrent.bensuperpc.org/
|
href: https://qbittorrent.bensuperpc.org/
|
||||||
description: qBittorrent
|
description: qBittorrent
|
||||||
|
ping: qbittorrent.bensuperpc.org
|
||||||
|
container: qbittorrent
|
||||||
- syncthing:
|
- syncthing:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/syncthing.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/syncthing.png
|
||||||
href: https://syncthing.bensuperpc.org/
|
href: https://syncthing.bensuperpc.org/
|
||||||
description: Syncthing
|
description: Syncthing
|
||||||
|
ping: syncthing.bensuperpc.org
|
||||||
|
container: syncthing
|
||||||
- transmission:
|
- transmission:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/transmission.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/transmission.png
|
||||||
href: https://transmission.bensuperpc.org/
|
href: https://transmission.bensuperpc.org/
|
||||||
description: Transmission
|
description: Transmission
|
||||||
|
ping: transmission.bensuperpc.org
|
||||||
|
container: transmission
|
||||||
|
|
||||||
- Utils:
|
- Utils:
|
||||||
- it-tools:
|
- it-tools:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/it-tools.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/it-tools.png
|
||||||
href: https://it-tools.bensuperpc.org/
|
href: https://it-tools.bensuperpc.org/
|
||||||
description: IT Tools
|
description: IT Tools
|
||||||
|
ping: it-tools.bensuperpc.org
|
||||||
|
container: it-tools
|
||||||
|
|
||||||
- gitea:
|
- gitea:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
|
||||||
href: https://gitea.bensuperpc.org/
|
href: https://gitea.bensuperpc.org/
|
||||||
description: Gitea
|
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
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ title: Bensuperpc
|
|||||||
|
|
||||||
base: https://homepage.bensuperpc.org
|
base: https://homepage.bensuperpc.org
|
||||||
|
|
||||||
#favicon: /images/favicon.ico
|
favicon: /images/favicon.ico
|
||||||
|
|
||||||
logpath: /app/logs
|
logpath: /app/logs
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ background:
|
|||||||
theme: dark
|
theme: dark
|
||||||
color: slate
|
color: slate
|
||||||
|
|
||||||
language: fr
|
language: en
|
||||||
|
|
||||||
layout:
|
layout:
|
||||||
Personal:
|
Personal:
|
||||||
@ -35,6 +35,14 @@ layout:
|
|||||||
style: row
|
style: row
|
||||||
columns: 6
|
columns: 6
|
||||||
initiallyCollapsed: false
|
initiallyCollapsed: false
|
||||||
|
Others:
|
||||||
|
style: row
|
||||||
|
columns: 6
|
||||||
|
initiallyCollapsed: false
|
||||||
|
Games:
|
||||||
|
style: row
|
||||||
|
columns: 6
|
||||||
|
initiallyCollapsed: false
|
||||||
|
|
||||||
quicklaunch:
|
quicklaunch:
|
||||||
searchDescriptions: true
|
searchDescriptions: true
|
||||||
|
BIN
infrastructure/homepage/image/favicon.ico
Normal file
BIN
infrastructure/homepage/image/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 295 KiB |
23
infrastructure/yacht/docker-compose.yacht.yml
Normal file
23
infrastructure/yacht/docker-compose.yacht.yml
Normal 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
2
infrastructure/yacht/env/yacht.env
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ADMIN_EMAIL=bensuperpc@gmail.com
|
||||||
|
SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8
|
Loading…
Reference in New Issue
Block a user