You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/inputs.md
+53-9Lines changed: 53 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,16 +42,16 @@ Example: `cool-stack`
42
42
43
43
### file
44
44
45
-
Stack file or Compose file(s).
45
+
Stack file or Compose file(s)._Swarm_ only supports 1 file per stack.
46
46
47
-
_Compose._ Multiple files can be provided, space seperated.
48
-
This will prepend the `-f` flag to each file.
47
+
_Compose._[Multiple files](https://docs.docker.com/compose/how-tos/multiple-compose-files/) can be provided, space seperated. and the `-f` flag will be prepended to each file.
49
48
50
-
Example: `web.yaml db.yaml`
49
+
Example: `web.yaml db.yaml`
50
+
Output: `-f web.yaml -f db.yaml`
51
51
52
52
### mode
53
53
54
-
**Compose Only.** Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.
54
+
**Compose Only.** Set this to `compose` to use [compose up](https://docs.docker.com/reference/cli/docker/compose/up/) instead of [stack deploy](https://docs.docker.com/reference/cli/docker/stack/deploy/) for non-swarm hosts.
55
55
56
56
### args
57
57
@@ -60,18 +60,62 @@ The `detach` flag defaults to false for compose. With no args the default is `--
60
60
Use an empty string to override. For more details, see the compose
0 commit comments