Aggiunto dispatch
This commit is contained in:
parent
55a88f7849
commit
7a7d565064
43
README.md
43
README.md
|
@ -2,29 +2,30 @@
|
||||||
|
|
||||||
<details><summary>Clicca per visualizzare</summary>
|
<details><summary>Clicca per visualizzare</summary>
|
||||||
|
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/archiveteamwarrior.png" width="24" /> [archive warrior](archivewarrior) - un nodo per aiutare l'[archive team](https://archive.org/)
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/archiveteamwarrior.png" width="24" /> [archive warrior](archivewarrior) - un nodo per aiutare l'[archive team](https://archive.org/)
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/foldingathome.png" width="24" /> [folding@home](folding@home/) - calcolo distrubuito per la ricerca medica
|
- <img src="https://raw.githubusercontent.com/khlieng/dispatch/master/client/public/icon_512.png" width="24" /> [dispatch](dispatch/) - web client per irc
|
||||||
- <img align="center" src="https://styleguide.torproject.org/static/images/tor-logo/color.svg" width="24" /> [tor-socks-proxy](tor-socks-proxy/) - tor proxy server
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/foldingathome.png" width="24" /> [folding@home](folding@home/) - calcolo distrubuito per la ricerca medica
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/tubesync.png" width="24" /> [tubesync](tubesync/) - pvr per youtube
|
- <img src="https://styleguide.torproject.org/static/images/tor-logo/color.svg" width="24" /> [tor-socks-proxy](tor-socks-proxy/) - tor proxy server
|
||||||
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/tubesync.png" width="24" /> [tubesync](tubesync/) - pvr per youtube
|
||||||
|
|
||||||
**Immagini compatibili con i Raspberry Pi** <img align="center" src="https://raw.githubusercontent.com/walkxhub/dashboard-icons/master/png/raspberrypi.png" width="18" />
|
**Immagini compatibili con i Raspberry Pi** <img src="https://raw.githubusercontent.com/walkxhub/dashboard-icons/master/png/raspberrypi.png" width="22" />
|
||||||
|
|
||||||
- <img align="center" src="https://i.ibb.co/XLPmnnf/borg.png" width="24" /> [borg](borg) - software per i backup 2.0
|
- <img src="https://i.ibb.co/XLPmnnf/borg.png" width="24" /> [borg](borg) - software per i backup 2.0
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/dozzle.png" width="24" /> [dozzle](dozzle/) - interfaccia web per controllare i log dei container
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/dozzle.png" width="24" /> [dozzle](dozzle/) - interfaccia web per controllare i log dei container
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/gitea.png" width="24" /> [gitea](gitea/) - server git con interfaccia web
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/gitea.png" width="24" /> [gitea](gitea/) - server git con interfaccia web
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/homer.png" width="24" /> [homer](homer/) - semplice pagina per tutti i servizi che avete (e non)
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/homer.png" width="24" /> [homer](homer/) - semplice pagina per tutti i servizi che avete (e non)
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/jellyfin.png" width="24" /> [jellyfin](jellyfin/) - server per la gestione e la transcodifica di musica, film e serie tv
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/jellyfin.png" width="24" /> [jellyfin](jellyfin/) - server per la gestione e la transcodifica di musica, film e serie tv
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/komga.png" width="24" /> [komga](komga/) - server per la lettura e la gestione di manga e comics
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/komga.png" width="24" /> [komga](komga/) - server per la lettura e la gestione di manga e comics
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/youtubedl.png" width="24" /> [metube](metube/) - interfaccia web per youtube-dl
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/youtubedl.png" width="24" /> [metube](metube/) - interfaccia web per youtube-dl
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/miniflux.png" width="24" /> [miniflux](miniflux/) - gestore di feed minimale
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/miniflux.png" width="24" /> [miniflux](miniflux/) - gestore di feed minimale
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/navidrome.png" width="24" /> [navidrome](navidrome/) - server per l'ascolto e la gestione di file musicali
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/navidrome.png" width="24" /> [navidrome](navidrome/) - server per l'ascolto e la gestione di file musicali
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/pihole.png" width="24" /> [pihole+dnscrypt](pihole+dnscrypt/) - adblock di rete con un caching-proxy dns
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/pihole.png" width="24" /> [pihole+dnscrypt](pihole+dnscrypt/) - adblock di rete con un caching-proxy dns
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/podify.png" width="24" /> [podgrab](podgrab/) - server per l'ascolto e la gestione di podcast
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/podify.png" width="24" /> [podgrab](podgrab/) - server per l'ascolto e la gestione di podcast
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/syncthing.png" width="24" /> [syncthing](syncthing/) - dropbox decentralizzato
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/syncthing.png" width="24" /> [syncthing](syncthing/) - dropbox decentralizzato
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/transmission/transmission/main/gtk/icons/hicolor_apps_scalable_transmission.svg" width="24" /> [transmission](transmission/) - client bittorrent
|
- <img src="https://raw.githubusercontent.com/transmission/transmission/main/gtk/icons/hicolor_apps_scalable_transmission.svg" width="24" /> [transmission](transmission/) - client bittorrent
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/unifi-controller.png" width="24" /> [unifi-controller](unifi-controller/) - interfaccia web per la gestione dell'hardware ubiquiti
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/unifi-controller.png" width="24" /> [unifi-controller](unifi-controller/) - interfaccia web per la gestione dell'hardware ubiquiti
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/watchtower.png" width="24" /> [watchotwer](watchtower/) - aggiorna automaticamente i container
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/watchtower.png" width="24" /> [watchotwer](watchtower/) - aggiorna automaticamente i container
|
||||||
- <img align="center" src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/wger.png" width="24" /> [wger](wger/) - server per la gestione della vostra alimentazione e allenamenti
|
- <img src="https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/wger.png" width="24" /> [wger](wger/) - server per la gestione della vostra alimentazione e allenamenti
|
||||||
|
|
||||||
</details></br>
|
</details></br>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Generale
|
||||||
|
DISPATCH_WEBUI_PORT_HTTP=80
|
||||||
|
DISPATCH_WEBUI_PORT_HTTPS=443
|
||||||
|
DISPATCH_DATA=/home/docker/dispatch/data
|
|
@ -0,0 +1,106 @@
|
||||||
|
# Dispatch
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<img src="https://khlieng.com/dispatch.png?1" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
## Descrizione
|
||||||
|
|
||||||
|
[![Sorgente](https://img.shields.io/static/v1.svg?color=555555&logoColor=ffffff&logo=github&style=flat&label=&message=Sorgente)](https://github.com/khlieng/dispatch) [![Docker Hub](https://img.shields.io/static/v1.svg?color=555555&logoColor=ffffff&logo=docker&style=flat&label=&message=Docker Hub)](https://hub.docker.com/r/khlieng/dispatch) [![Demo](https://img.shields.io/static/v1.svg?color=555555&logoColor=ffffff&logo=jekyll&style=flat&label=&message=Demo)](https://dispatch.khlieng.com/)
|
||||||
|
|
||||||
|
Dispatch è un'interfaccia web per [IRC](https://wikiless.org/wiki/Internet_Relay_Chat):
|
||||||
|
|
||||||
|
- Interfaccia semplice, veloce ma comunque moderna
|
||||||
|
- Supporto al multi-utente e al multi-server
|
||||||
|
- Supporto al download tramite [DCC](https://wikiless.org/wiki/Direct_Client-to-Client)
|
||||||
|
|
||||||
|
## Struttura file e cartelle
|
||||||
|
|
||||||
|
```
|
||||||
|
/home/
|
||||||
|
└── docker/
|
||||||
|
└── dispatch/
|
||||||
|
├── data/
|
||||||
|
├── .env
|
||||||
|
└── docker-compose.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
- `data/` - cartella dove i dati di dispatch vengono salvati
|
||||||
|
- `.env` - file contenenti le variabili environment per il docker-compose
|
||||||
|
- `docker-compose.yml` - file usato per creare il container
|
||||||
|
|
||||||
|
**N.B. Tutti i file e le cartelle devono essere creati a mano**
|
||||||
|
|
||||||
|
## Esempi
|
||||||
|
|
||||||
|
Semplice esempio per iniziare ad usare subito il container
|
||||||
|
|
||||||
|
### docker-compose
|
||||||
|
|
||||||
|
`docker-compose.yml`
|
||||||
|
|
||||||
|
```yml
|
||||||
|
version: "3.5"
|
||||||
|
services:
|
||||||
|
dispatch:
|
||||||
|
container_name: dispatch
|
||||||
|
image: khlieng/dispatch
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${DISPATCH_WEBUI_PORT_HTTP:-80}:80
|
||||||
|
- ${DISPATCH_WEBUI_PORT_HTTPS:-443}:443
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ${DISPATCH_DATA:-/home/docker/dispatch/data}:/data
|
||||||
|
```
|
||||||
|
|
||||||
|
`.env`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Generale
|
||||||
|
DISPATCH_WEBUI_PORT_HTTP=80
|
||||||
|
DISPATCH_WEBUI_PORT_HTTPS=443
|
||||||
|
DISPATCH_DATA=/home/docker/dispatch/data
|
||||||
|
```
|
||||||
|
|
||||||
|
## Reverse proxy
|
||||||
|
|
||||||
|
Vedi [Todo](#Todo)
|
||||||
|
|
||||||
|
## Aggiornamento
|
||||||
|
|
||||||
|
### Automatico
|
||||||
|
|
||||||
|
Usando [watchtower](../watchtower) il container si aggiorna automaticamente
|
||||||
|
|
||||||
|
### Manuale
|
||||||
|
|
||||||
|
1. `docker-compose up -d`
|
||||||
|
2. `docker image prune`
|
||||||
|
|
||||||
|
## Backup e ripristino
|
||||||
|
|
||||||
|
### Backup
|
||||||
|
|
||||||
|
Usate [borg](../borg) per fare i backup giornalieri dell'intera cartella `dispatch`
|
||||||
|
|
||||||
|
### Ripristino
|
||||||
|
|
||||||
|
Per una maggiore spiegazione sui passaggi da fare, controllate [qua](../borg#user-content-controllare-la-cartella-dei-backup)
|
||||||
|
|
||||||
|
1. fermare il container `docker-compose down`
|
||||||
|
2. cancellare l'intera cartella `dispatch`
|
||||||
|
3. dal backup copiare la cartella `dispatch`
|
||||||
|
4. far ripartire il container `docker-compose up -d`
|
||||||
|
|
||||||
|
## Todo
|
||||||
|
|
||||||
|
Implementare:
|
||||||
|
|
||||||
|
- reverse proxy: **[caddy](https://caddyserver.com/)** o **[traefik](https://doc.traefik.io/traefik/)**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Licenza: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt)
|
|
@ -0,0 +1,14 @@
|
||||||
|
version: "3.5"
|
||||||
|
services:
|
||||||
|
dispatch:
|
||||||
|
container_name: dispatch
|
||||||
|
image: khlieng/dispatch
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${DISPATCH_WEBUI_PORT_HTTP:-80}:80
|
||||||
|
- ${DISPATCH_WEBUI_PORT_HTTPS:-443}:443
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ${DISPATCH_DATA:-/home/docker/dispatch/data}:/data
|
Loading…
Reference in New Issue