Add it-tools

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-23 17:19:24 +02:00
parent eab7e99486
commit 68b917a720
6 changed files with 56 additions and 2 deletions

View File

@ -32,6 +32,10 @@ jobs:
run: make build run: make build
# - name: "Start server" # - name: "Start server"
# run: make start # run: make start
- name: "Logs server"
run: make logs
- name: "State server"
run: make state
- name: "Stop server" - name: "Stop server"
run: make stop run: make stop
- name: "Down server" - name: "Down server"

View File

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

View File

@ -20,6 +20,9 @@ If you have any **questions** or **suggestions**, feel free to open an issue or
- [x] Gitea (Git server) - [x] Gitea (Git server)
- [x] Uptime Kuma (Monitoring) - [x] Uptime Kuma (Monitoring)
- [x] qbittorrent and transmission (Torrent client/server) - [x] qbittorrent and transmission (Torrent client/server)
- [x] SyncThing (File synchronization)
- [x] PsiTransfer (File sharing)
- [x] it-tools (Tools for IT)
## Screenshots ## Screenshots
@ -73,6 +76,7 @@ And then, caddy will generate the certificate for you and renew it automatically
| [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | Sub | Jellyfin for media server | | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | Sub | Jellyfin for media server |
| [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | Sub | SyncThing for file synchronization | | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | Sub | SyncThing for file synchronization |
| [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 |
| 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 |
@ -176,12 +180,13 @@ You can find all service on this table:
| Jellyfin | Jellyfin for media server | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | | Jellyfin | Jellyfin for media server | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) |
| SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | | SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) |
| 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) |
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.
To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-containers-using-gitea-runners-600729555e07 To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-containers-using-gitea-runners-600729555e07
## Build with ## Sources
- [Wordpress](https://wordpress.org/) - [Wordpress](https://wordpress.org/)
- [Gnu Make](https://www.gnu.org/software/make/) - [Gnu Make](https://www.gnu.org/software/make/)
@ -194,6 +199,16 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
- [Digital Ocean - How To Install WordPress with Docker Compose (nginx)](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose) - [Digital Ocean - How To Install WordPress with Docker Compose (nginx)](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose)
- [Letsencrypt](https://letsencrypt.org/) - [Letsencrypt](https://letsencrypt.org/)
- [Caddy](https://caddyserver.com/) - [Caddy](https://caddyserver.com/)
- [Adminer](https://www.adminer.org/)
- [Uptime Kuma](https://uptime-kuma.com/)
- [qbittorrent](https://www.qbittorrent.org/)
- [Transmission](https://transmissionbt.com/)
- [Gitea](https://gitea.io/)
- [Jellyfin](https://jellyfin.org/)
- [SyncThing](https://syncthing.net/)
- [PsiTransfer](https://psitransfer.com/)
- [It-tools](https://github.com/CorentinTh/it-tools)
- [Imagisphe](https://imagisphe.re/)
## License ## License

View File

@ -85,6 +85,14 @@ syncthing.bensuperpc.org {
} }
} }
it-tools.bensuperpc.org {
reverse_proxy it-tools:8080
}
tools.bensuperpc.org {
redir https://it-tools.bensuperpc.org permanent
}
link.bensuperpc.org { link.bensuperpc.org {
# TODO: Use service with database # TODO: Use service with database
# Friendly links # Friendly links
@ -111,4 +119,5 @@ link.bensuperpc.org {
redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent
redir /darkwater https://youtu.be/Tr8ZgF4Dc0E?si=CEOmm2J6Jp5rdbbt permanent redir /darkwater https://youtu.be/Tr8ZgF4Dc0E?si=CEOmm2J6Jp5rdbbt permanent
redir /train https://youtu.be/l8mScKWj3kQ?si=BV07uJ9eP3kzV9Kl permanent redir /train https://youtu.be/l8mScKWj3kQ?si=BV07uJ9eP3kzV9Kl permanent
redir /jdg https://www.youtube.com/@joueurdugrenier permanent
} }

View File

@ -0,0 +1,24 @@
services:
# it-tools
it-tools:
image: corentinth/it-tools:latest
container_name: it-tools
profiles:
- it-tools
restart: on-failure:5
depends_on:
- caddy
env_file:
- ./it-tools/env/it-tools.env
networks:
- infra-network
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.001'
memory: 20M

View File

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