Skip to content

Commit ca2d1e8

Browse files
committed
Update the doc
1 parent eaf6570 commit ca2d1e8

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/reference.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ koyeb apps init NAME [flags]
225225
### Options
226226

227227
```
228-
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp)
228+
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp) - Available for "WEB" service only
229229
--docker string Docker image
230230
--docker-args strings Docker args
231231
--docker-command string Docker command
@@ -240,9 +240,10 @@ koyeb apps init NAME [flags]
240240
--instance-type string Instance type (default "nano")
241241
--max-scale int Max scale (default 1)
242242
--min-scale int Min scale (default 1)
243-
--ports strings Ports (default [80:http])
243+
--ports strings Ports - Available for "WEB" service only (default [80:http])
244244
--regions strings Regions (default [fra])
245-
--routes strings Ports (default [/:80])
245+
--routes strings Routes - Available for "WEB" service only (default [/:80])
246+
--type string Service type, either "WEB" or "WORKER" (default "WEB")
246247
```
247248

248249
### Options inherited from parent commands
@@ -899,7 +900,7 @@ koyeb services create NAME [flags]
899900

900901
```
901902
-a, --app string App
902-
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp)
903+
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp) - Available for "WEB" service only
903904
--docker string Docker image
904905
--docker-args strings Docker args
905906
--docker-command string Docker command
@@ -914,9 +915,10 @@ koyeb services create NAME [flags]
914915
--instance-type string Instance type (default "nano")
915916
--max-scale int Max scale (default 1)
916917
--min-scale int Min scale (default 1)
917-
--ports strings Ports (default [80:http])
918+
--ports strings Ports - Available for "WEB" service only (default [80:http])
918919
--regions strings Regions (default [fra])
919-
--routes strings Ports (default [/:80])
920+
--routes strings Routes - Available for "WEB" service only (default [/:80])
921+
--type string Service type, either "WEB" or "WORKER" (default "WEB")
920922
```
921923

922924
### Options inherited from parent commands
@@ -1181,7 +1183,7 @@ koyeb services update NAME [flags]
11811183
### Options
11821184

11831185
```
1184-
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp)
1186+
--checks strings HTTP healthcheck (<port>:http:<path>) and TCP healthcheck (<port>:tcp) - Available for "WEB" service only
11851187
--docker string Docker image
11861188
--docker-args strings Docker args
11871189
--docker-command string Docker command
@@ -1196,9 +1198,10 @@ koyeb services update NAME [flags]
11961198
--instance-type string Instance type (default "nano")
11971199
--max-scale int Max scale (default 1)
11981200
--min-scale int Min scale (default 1)
1199-
--ports strings Ports (default [80:http])
1201+
--ports strings Ports - Available for "WEB" service only (default [80:http])
12001202
--regions strings Regions (default [fra])
1201-
--routes strings Ports (default [/:80])
1203+
--routes strings Routes - Available for "WEB" service only (default [/:80])
1204+
--type string Service type, either "WEB" or "WORKER" (default "WEB")
12021205
```
12031206

12041207
### Options inherited from parent commands

0 commit comments

Comments
 (0)