Problem Statement
What is the key difference when using `docker stack deploy` compared to `docker-compose up`?
Explanation
`docker stack deploy` is used in Swarm mode and interprets a compose file to deploy services across the swarm nodes with built-in load balancing (routing mesh). `docker-compose up` works on a single Docker host and sets up containers without swarm scheduling or replication.
