2022-07-20 12:04:29 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2022-07-20 12:08:00 +02:00
# Nomad for YunoHost
2022-07-20 12:04:29 +02:00
2022-07-20 12:08:00 +02:00
[![Integration level ](https://dash.yunohost.org/integration/nomad.svg )](https://dash.yunohost.org/appci/app/nomad) ![Working status ](https://ci-apps.yunohost.org/ci/badges/nomad.status.svg ) ![Maintenance status ](https://ci-apps.yunohost.org/ci/badges/nomad.maintain.svg )
[![Install Nomad with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=nomad)
2022-07-20 12:04:29 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2022-07-20 12:08:00 +02:00
> *This package allows you to install Nomad quickly and simply on a YunoHost server.
2022-07-20 12:04:29 +02:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
## Overview
2022-07-21 08:24:35 +02:00
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.
2022-07-20 12:04:29 +02:00
2022-09-01 08:36:04 +02:00
**Shipped version:** 1.3.5~ynh1
2022-07-20 12:04:29 +02:00
## Screenshots
2022-07-21 08:24:35 +02:00
![Screenshot of Nomad ](./doc/screenshots/assets.png )
2022-07-20 12:04:29 +02:00
2022-07-22 02:31:41 +02:00
## Disclaimers / important information
## 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
}
}
}
}
```
2022-07-20 12:04:29 +02:00
## Documentation and resources
2022-07-21 08:24:35 +02:00
* Official app website: < https: // www . nomadproject . io />
* Official admin documentation: < https: // www . nomadproject . io / docs >
* Upstream app code repository: < https: // github . com / hashicorp / nomad >
2022-07-20 12:08:00 +02:00
* YunoHost documentation for this app: < https: // yunohost . org / app_nomad >
* Report a bug: < https: // github . com / YunoHost-Apps / nomad_ynh / issues >
2022-07-20 12:04:29 +02:00
## Developer info
2022-07-20 12:08:00 +02:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/nomad_ynh/tree/testing ).
2022-07-20 12:04:29 +02:00
To try the testing branch, please proceed like that.
``` bash
2022-07-20 12:08:00 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug
2022-07-20 12:04:29 +02:00
or
2022-07-20 12:08:00 +02:00
sudo yunohost app upgrade nomad -u https://github.com/YunoHost-Apps/nomad_ynh/tree/testing --debug
2022-07-20 12:04:29 +02:00
```
**More info regarding app packaging:** < https: / / yunohost . org / packaging_apps >