Aggiunto komga
This commit is contained in:
parent
d620d204c7
commit
a8da62755d
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/foldingathome.png" width="28" /> [folding@home](folding@home/) - calcolo distrubuito per la ricerca medica
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/foldingathome.png" width="28" /> [folding@home](folding@home/) - calcolo distrubuito per la ricerca medica
|
||||||
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/gitea.png" width="28" /> [gitea](gitea/) - simil-github personale
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/gitea.png" width="28" /> [gitea](gitea/) - simil-github personale
|
||||||
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/komga.png" width="28" /> [komga](komga/) - simil-github personale
|
||||||
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/youtubedl.png" width="28" /> [metube](metube/) - frontend per youtube-dl
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/youtubedl.png" width="28" /> [metube](metube/) - frontend per youtube-dl
|
||||||
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/miniflux.png" width="28" /> [miniflux](miniflux/) - feed rss minimale
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/miniflux.png" width="28" /> [miniflux](miniflux/) - feed rss minimale
|
||||||
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/navidrome.png" width="28" /> [navidrome](navidrome/) - simil-spotify personale
|
* <img src="https://raw.githubusercontent.com/NX211/homer-icons/master/navidrome.png" width="28" /> [navidrome](navidrome/) - simil-spotify personale
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Generale
|
||||||
|
KOMGA_PORT:8080
|
||||||
|
KOMGA_CONFIG:/config
|
||||||
|
KOMGA_DATA:/data
|
||||||
|
|
||||||
|
# Komga
|
||||||
|
ND_LOGLEVEL=info
|
|
@ -0,0 +1,100 @@
|
||||||
|
# Komga in docker
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<img src="https://i.ibb.co/3hc9vKb/Screenshot-2021-05-17-Komga.png" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
# Descrizione
|
||||||
|
|
||||||
|
* [Sito ufficiale](https://komga.org/)
|
||||||
|
* [Repo (Github)](https://github.com/gotson/komga)
|
||||||
|
|
||||||
|
Komga è un server per la gestione di manga/comics:
|
||||||
|
|
||||||
|
- Interfaccia web moderna e compatibile con tablet e smartphone
|
||||||
|
- Possibilità di organizzare, modificare e importare i metadati (anche integrati)
|
||||||
|
- Multiutente, con possiblità di gestire l'accesso alle librerie (anche singolarmente)
|
||||||
|
- Lettore web dotato con varie personalizzioni (di lettura e non solo)
|
||||||
|
- Possibilità di interazione esterna tramite REST API
|
||||||
|
|
||||||
|
# Struttura file e cartelle
|
||||||
|
|
||||||
|
```
|
||||||
|
/home/
|
||||||
|
└── ~/
|
||||||
|
└── docker/
|
||||||
|
└── komga/
|
||||||
|
├── config/
|
||||||
|
├── data/
|
||||||
|
├── .env
|
||||||
|
└── docker-compose.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
* `config/` - la cartella dove risiedono i dati che servono a komga
|
||||||
|
* `data/` - la cartella dove vanno messi i manga/comics
|
||||||
|
* `.env` - un file contenenti le variabili environment per il docker compose
|
||||||
|
* `docker-compose.yml` - il docker compose per creare il container
|
||||||
|
|
||||||
|
Tutti i file e le cartelle devono essere creati a mano.</br>
|
||||||
|
|
||||||
|
# docker-compose
|
||||||
|
|
||||||
|
`docker-compose.yml`
|
||||||
|
```yml
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
komga:
|
||||||
|
container_name: komga
|
||||||
|
image: gotson/komga
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${KOMGA_PORT:-8080}:8080
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ${KOMGA_CONFIG:-/home/docker/komga/config}:/config
|
||||||
|
- ${KOMGA_DATA:-/home/docker/komga/data:/data
|
||||||
|
```
|
||||||
|
|
||||||
|
`.env`
|
||||||
|
```bash
|
||||||
|
# Generale
|
||||||
|
KOMGA_PORT:8080
|
||||||
|
KOMGA_CONFIG:/config
|
||||||
|
KOMGA_DATA:/data
|
||||||
|
|
||||||
|
# Komga
|
||||||
|
ND_LOGLEVEL=info
|
||||||
|
```
|
||||||
|
|
||||||
|
# Reverse proxy
|
||||||
|
|
||||||
|
Ancora non ho previsto l'uso di un reverse proxy. (Vedi [Todo](#Todo))
|
||||||
|
|
||||||
|
# Aggiornamenti
|
||||||
|
|
||||||
|
[Watchtower](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/watchtower) aggiorna l'immagine automaticamente.
|
||||||
|
|
||||||
|
Aggiornamento manuale:
|
||||||
|
|
||||||
|
- `docker-compose pull`</br>
|
||||||
|
- `docker-compose up -d`</br>
|
||||||
|
- `docker image prune`
|
||||||
|
|
||||||
|
# Backup e ripristino
|
||||||
|
|
||||||
|
#### Backup
|
||||||
|
|
||||||
|
Copiare a mano, tramite crontab o altro la cartella `komga` (Vedi [Todo](#Todo))
|
||||||
|
|
||||||
|
#### Ripristino
|
||||||
|
|
||||||
|
* spegnere il container `docker-compose down`</br>
|
||||||
|
* cancellare l'intera cartella `komga`</br>
|
||||||
|
* dal backup copiare la cartella `komga`</br>
|
||||||
|
* far partire il container `docker-compose up -d`
|
||||||
|
|
||||||
|
# Todo
|
||||||
|
|
||||||
|
Implementare:
|
||||||
|
- reverse proxy: **[caddy](https://caddyserver.com/) o [traefik](https://doc.traefik.io/traefik/).**
|
||||||
|
- backup: **[borg](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/borg_backup) per fare i backup giornalieri completi.**
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
komga:
|
||||||
|
container_name: komga
|
||||||
|
image: gotson/komga
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${KOMGA_PORT:-8080}:8080
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ${KOMGA_CONFIG:-/home/docker/komga/config}:/config
|
||||||
|
- ${KOMGA_DATA:-/home/docker/komga/data:/data
|
Loading…
Reference in New Issue