docker swarm + docker compose local code example Example: docker swarm deploy docker stack deploy -c "path to compose" stackname