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
* The `--compose-file` option specifies the path to our stack file. In this case, we assume it's in the current directory so we simply name the stack file: `docker-stack.yml`.
64
+
65
+
* For the example, we name this app `vote`, but we could name it anything we want.
Copy file name to clipboardExpand all lines: engine/getstarted-voting-app/index.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -219,12 +219,13 @@ volumes:
219
219
220
220
## Docker stacks and services
221
221
222
-
To deploy the voting app, we will run the `docker stack deploy` command with
223
-
this `docker-stack.yml` file to pull the referenced images and launch the
224
-
services in a swarm. This allows us to run the application across multiple
225
-
servers, and use swarm mode for load balancing and performance. Rather than
226
-
thinking about running individual containers, we can start to model deployments
227
-
as application stacks and services.
222
+
To deploy the voting app, we will run the [`docker stack
223
+
deploy`](/engine/reference/commandline/stack_deploy.md) command with appropriate
224
+
options using this `docker-stack.yml` file to pull the referenced images and
225
+
launch the services in a swarm. This allows us to run the application across
226
+
multiple servers, and use swarm mode for load balancing and performance. Rather
227
+
than thinking about running individual containers, we can start to model
228
+
deployments as application stacks and services.
228
229
229
230
If you are interested in learning more about new Compose version 3.x features, Docker Engine 1.13.x, and swarm mode integration, check out the [list of resources](customize-app.md#resources) at the end of this tutorial.
0 commit comments