mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 03:45:41 +03:00
Updated website documentation.
This commit is contained in:
committed by
Alex Dadgar
parent
962c509586
commit
b42d987e19
@@ -45,6 +45,11 @@ job "my-service" {
|
||||
config {
|
||||
image = "hashicorp/web-frontend"
|
||||
}
|
||||
env {
|
||||
DB_HOST = "db01.example.com"
|
||||
DB_USER = "web"
|
||||
DB_PASSWORD = "loremipsum"
|
||||
}
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 128
|
||||
@@ -166,6 +171,9 @@ The `task` object supports the following keys:
|
||||
to start the task. The details of configurations are specific to
|
||||
each driver.
|
||||
|
||||
* `env` - A map of key/value representing environment variables that
|
||||
will be passed along to the running process.
|
||||
|
||||
* `resources` - Provides the resource requirements of the task.
|
||||
See the resources reference for more details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user