September 15, 20214 yr Is there a way to use docker-compose on an Unraid appliance? I have a docker-compose.yml file that I'd like to migrate from another device. Is there a way to do that? Thanks.
September 15, 20214 yr Author I might have answered my own question. Looks like it IS possible. This article assumes you are starting from scratch but I have a bunch of ready-made `docker-compose.yml` files, so this might work well for me. Using docker compose on Unraid
September 18, 20214 yr You can run docker-compose via docker. Put this in your /boot/config/go file to create an alias docker-compose that downloads docker-compose and run it in docker. The benefit is that it's always running the latest version, so you don't even need to update it. alias docker-compose="docker run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v '$PWD:$PWD' \ -w='$PWD' \ docker/compose:latest"
September 18, 20214 yr 21 minutes ago, paaland said: You can run docker-compose via docker. Put this in your /boot/config/go file to create an alias docker-compose that downloads docker-compose and run it in docker. The benefit is that it's always running the latest version, so you don't even need to update it. alias docker-compose="docker run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v '$PWD:$PWD' \ -w='$PWD' \ docker/compose:latest" Right on with that. Your method is definitely different from what I've been doing, so I'll need to look into that. I've been using docker-compose for a while now, I had a desire to get Spaghetti Detective running, and now I have that and TeslaMate running using docker-compose. I've been running both of these for six months or so, and actually the documentation from The Spaghetti Detective github was super helpful in getting things setup. This was very helpful for me @Tim Long https://github.com/TheSpaghettiDetective/TheSpaghettiDetective/blob/master/docs/unraid_guide.md Edited September 18, 20214 yr by daldridge
September 7, 20223 yr There is a plugin in CA for docker compose as well. I use it and the docker folder plugin. They work well together as you can put all the docker images created by compose into a folder to keep things tidy. Edited September 7, 20223 yr by bobbintb
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.