我应该使用docker-compose文件将我的堆栈部署到群集中

问题基本上应该是使用docker-compose.yml文件来将我的堆栈部署到群集中,还是有更好的方法。

使用堆栈文件会更好吗?