Updated website documentation.

This commit is contained in:
Antoine POPINEAU
2015-10-01 13:59:23 +02:00
committed by Alex Dadgar
parent 962c509586
commit b42d987e19

View File

@@ -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.