Skip to content

Commit

Permalink
Udated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarrios committed Dec 17, 2019
1 parent 827f87c commit 31398b3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ job "example" {
config {
image = "https://pot-registry.zapto.org/registry/"
pot = "nginx-only"
tag = "1.0"
command = "nginx -g 'daemon off;'"
pot = "FBSD121-nginx"
tag = "1.2"
command = "nginx"
args = ["-g","'daemon off;'"]
port_map = {
http = "80"
}
Expand Down Expand Up @@ -73,9 +74,10 @@ task "nginx-pot" {
config {
image = "https://pot-registry.zapto.org/registry/"
pot = "FBSD120-nginx"
tag = "1.0"
command = "nginx -g 'daemon off;'"
pot = "FBSD121-nginx"
tag = "1.2"
command = "nginx"
args = ["-g","'daemon off;'"]
network_mode = "public-bridge"
port_map = {
http = "80"
Expand All @@ -102,9 +104,9 @@ The pot task driver supports the following parameters:

* `tag` - Version of the image.

* `commad` - Command that is going to be executed once the jail is started. (optional)
* `commad` - (Optional) Command that is going to be executed once the jail is started.

* `args` - Array of arguments to append to the command. (Depends on command beeing set)
* `args` - (Optional. Depends on `commad`) Array of arguments to append to the command.

* `network_mode` - (Optional) Defines the network mode of the pot. Default: **"public-bridge"**

Expand Down

0 comments on commit 31398b3

Please sign in to comment.