Skip to content

Commit 31398b3

Browse files
author
ebarrios
committed
Udated readme file
1 parent 827f87c commit 31398b3

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ job "example" {
3939
4040
config {
4141
image = "https://pot-registry.zapto.org/registry/"
42-
pot = "nginx-only"
43-
tag = "1.0"
44-
command = "nginx -g 'daemon off;'"
42+
pot = "FBSD121-nginx"
43+
tag = "1.2"
44+
command = "nginx"
45+
args = ["-g","'daemon off;'"]
4546
port_map = {
4647
http = "80"
4748
}
@@ -73,9 +74,10 @@ task "nginx-pot" {
7374
7475
config {
7576
image = "https://pot-registry.zapto.org/registry/"
76-
pot = "FBSD120-nginx"
77-
tag = "1.0"
78-
command = "nginx -g 'daemon off;'"
77+
pot = "FBSD121-nginx"
78+
tag = "1.2"
79+
command = "nginx"
80+
args = ["-g","'daemon off;'"]
7981
network_mode = "public-bridge"
8082
port_map = {
8183
http = "80"
@@ -102,9 +104,9 @@ The pot task driver supports the following parameters:
102104

103105
* `tag` - Version of the image.
104106

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

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

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

0 commit comments

Comments
 (0)