diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..3d6c579 --- /dev/null +++ b/ALL_README.md @@ -0,0 +1,6 @@ +# All available README files by language + +- [Read the README in English](README.md) +- [Lire le README en français](README_fr.md) +- [Le o README en galego](README_gl.md) +- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index ea265c7..bbe84fc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Nomad with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nomad) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README is other languages.](./ALL_README.md)* -> *This package allows you to install Nomad quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +> *This package allows you to install Nomad quickly and simply on a YunoHost server.* +> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* ## Overview @@ -203,19 +203,19 @@ job "job-download-bullseye" { ## Documentation and resources -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). -To try the testing branch, please proceed like that. +To try the `testing` branch, please proceed like that: -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug or sudo yunohost app upgrade nomad -u https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug diff --git a/README_fr.md b/README_fr.md index 3c56d91..0bb9201 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Nomad pour YunoHost @@ -9,17 +9,17 @@ It shall NOT be edited by hand. [![Installer Nomad avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nomad) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Nomad rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d’installer Nomad rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble Nomad is a simple and flexible workload orchestrator to deploy and manage containers ([docker](https://www.nomadproject.io/docs/drivers/docker.html), [podman](https://www.nomadproject.io/docs/drivers/podman)), non-containerized applications ([executable](https://www.nomadproject.io/docs/drivers/exec.html), [Java](https://www.nomadproject.io/docs/drivers/java)), and virtual machines ([qemu](https://www.nomadproject.io/docs/drivers/qemu.html)) across on-prem and clouds at scale. -**Version incluse :** 1.3.5~ynh1 +**Version incluse :** 1.3.5~ynh1 ## Captures d’écran @@ -203,22 +203,22 @@ job "job-download-bullseye" { ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug ou sudo yunohost app upgrade nomad -u https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..2935b4a --- /dev/null +++ b/README_gl.md @@ -0,0 +1,224 @@ + + +# Nomad para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/nomad.svg)](https://dash.yunohost.org/appci/app/nomad) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/nomad.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/nomad.maintain.svg) + +[![Instalar Nomad con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nomad) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Nomad de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* + +## Vista xeral + +Nomad is a simple and flexible workload orchestrator to deploy and manage containers ([docker](https://www.nomadproject.io/docs/drivers/docker.html), [podman](https://www.nomadproject.io/docs/drivers/podman)), non-containerized applications ([executable](https://www.nomadproject.io/docs/drivers/exec.html), [Java](https://www.nomadproject.io/docs/drivers/java)), and virtual machines ([qemu](https://www.nomadproject.io/docs/drivers/qemu.html)) across on-prem and clouds at scale. + + +**Versión proporcionada:** 1.3.5~ynh1 + +## Capturas de pantalla + +![Captura de pantalla de Nomad](./doc/screenshots/assets.png) + +## Avisos / información importante + +## Some Nomad Job examples + +### Busybox + +`lxc-create --name=busybox --template=busybox` + +``` +job "job-busybox" { + datacenters = ["dc1"] + type = "service" + + group "group-busybox" { + task "task-busybox" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-busybox" + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian + +`lxc-create --name=debian --template=debian` + +``` +job "job-debian" { + datacenters = ["dc1"] + type = "service" + + group "group-debian" { + task "task-debian" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Stretch + +`lxc-create --name=stretch --template=debian -- --release=stretch` + +``` +job "job-stretch" { + datacenters = ["dc1"] + type = "service" + + group "group-stretch" { + task "task-stretch" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + template_args = ["--release=stretch"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Buster + +`lxc-create --name=buster --template=debian -- --release=buster` + +``` +job "job-buster" { + datacenters = ["dc1"] + type = "service" + + group "group-buster" { + task "task-buster" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + template_args = ["--release=buster"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Buster from images.linuxcontainers.org + +`lxc-create --name=download-buster --template=download -- --dist=debian --release=buster --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com` + +``` +job "job-download-buster" { + datacenters = ["dc1"] + type = "service" + + group "group-download-buster" { + task "task-download-buster" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-download" + template_args = ["--dist=debian","--release=buster","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Bullseye from images.linuxcontainers.org + +`lxc-create --name=download-bullseye --template=download -- --dist=debian --release=bullseye --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com` + +``` +job "job-download-bullseye" { + datacenters = ["dc1"] + type = "service" + + group "group-download-bullseye" { + task "task-download-bullseye" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-download" + template_args = ["--dist=debian","--release=bullseye","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +## Documentación e recursos + +- Web oficial da app: +- Documentación oficial para admin: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: + +## Info de desenvolvemento + +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug +ou +sudo yunohost app upgrade nomad -u https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** diff --git a/README_it.md b/README_it.md new file mode 100644 index 0000000..294ec4e --- /dev/null +++ b/README_it.md @@ -0,0 +1,224 @@ + + +# Nomad per YunoHost + +[![Livello di integrazione](https://dash.yunohost.org/integration/nomad.svg)](https://dash.yunohost.org/appci/app/nomad) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/nomad.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/nomad.maintain.svg) + +[![Installa Nomad con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nomad) + +*[Leggi questo README in altre lingue.](./ALL_README.md)* + +> *Questo pacchetto ti permette di installare Nomad su un server YunoHost in modo semplice e veloce.* +> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.* + +## Panoramica + +Nomad is a simple and flexible workload orchestrator to deploy and manage containers ([docker](https://www.nomadproject.io/docs/drivers/docker.html), [podman](https://www.nomadproject.io/docs/drivers/podman)), non-containerized applications ([executable](https://www.nomadproject.io/docs/drivers/exec.html), [Java](https://www.nomadproject.io/docs/drivers/java)), and virtual machines ([qemu](https://www.nomadproject.io/docs/drivers/qemu.html)) across on-prem and clouds at scale. + + +**Versione pubblicata:** 1.3.5~ynh1 + +## Screenshot + +![Screenshot di Nomad](./doc/screenshots/assets.png) + +## Attenzione/informazioni importanti + +## Some Nomad Job examples + +### Busybox + +`lxc-create --name=busybox --template=busybox` + +``` +job "job-busybox" { + datacenters = ["dc1"] + type = "service" + + group "group-busybox" { + task "task-busybox" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-busybox" + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian + +`lxc-create --name=debian --template=debian` + +``` +job "job-debian" { + datacenters = ["dc1"] + type = "service" + + group "group-debian" { + task "task-debian" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Stretch + +`lxc-create --name=stretch --template=debian -- --release=stretch` + +``` +job "job-stretch" { + datacenters = ["dc1"] + type = "service" + + group "group-stretch" { + task "task-stretch" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + template_args = ["--release=stretch"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Buster + +`lxc-create --name=buster --template=debian -- --release=buster` + +``` +job "job-buster" { + datacenters = ["dc1"] + type = "service" + + group "group-buster" { + task "task-buster" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-debian" + template_args = ["--release=buster"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Buster from images.linuxcontainers.org + +`lxc-create --name=download-buster --template=download -- --dist=debian --release=buster --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com` + +``` +job "job-download-buster" { + datacenters = ["dc1"] + type = "service" + + group "group-download-buster" { + task "task-download-buster" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-download" + template_args = ["--dist=debian","--release=buster","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +### Debian Bullseye from images.linuxcontainers.org + +`lxc-create --name=download-bullseye --template=download -- --dist=debian --release=bullseye --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com` + +``` +job "job-download-bullseye" { + datacenters = ["dc1"] + type = "service" + + group "group-download-bullseye" { + task "task-download-bullseye" { + driver = "lxc" + + config { + log_level = "info" + verbosity = "verbose" + template = "/usr/share/lxc/templates/lxc-download" + template_args = ["--dist=debian","--release=bullseye","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"] + } + + resources { + cpu = 500 + memory = 256 + } + } + } +} +``` + +## Documentazione e risorse + +- Sito web ufficiale dell’app: +- Documentazione ufficiale per gli amministratori: +- Repository upstream del codice dell’app: +- Store di YunoHost: +- Segnala un problema: + +## Informazioni per sviluppatori + +Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing). + +Per provare la branch di `testing`, si prega di procedere in questo modo: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug +o +sudo yunohost app upgrade nomad -u https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug +``` + +**Maggiori informazioni riguardo il pacchetto di quest’app:**