Commit 31398b3 ebarrios
committed
1 parent 827f87c commit 31398b3 Copy full SHA for 31398b3
File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ job "example" {
39
39
40
40
config {
41
41
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;'"]
45
46
port_map = {
46
47
http = "80"
47
48
}
@@ -73,9 +74,10 @@ task "nginx-pot" {
73
74
74
75
config {
75
76
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;'"]
79
81
network_mode = "public-bridge"
80
82
port_map = {
81
83
http = "80"
@@ -102,9 +104,9 @@ The pot task driver supports the following parameters:
102
104
103
105
* ` tag ` - Version of the image.
104
106
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.
106
108
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.
108
110
109
111
* ` network_mode ` - (Optional) Defines the network mode of the pot. Default: ** "public-bridge"**
110
112
You can’t perform that action at this time.
0 commit comments