Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Docker Compose Manager

Featured Replies

12 hours ago, primeval_god said:

Check the settings page.

Lol, clicked every where but there. Thanks

  • Replies 872
  • Views 326.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I've been playing with the code behind this plugin and have made a couple of tweaks.  I'd be interested on peoples thoughts and suggestions.   The first allows you to specify any .env file. 

  • I've recently started using Compose Manger to orchestrate my containers in Unraid. I've used docker-compose for a long time on old servers, but moved away from it when I started using Unraid, as I pre

  • In the recent update, orphaned image is now automatically removed. Thank you.   Is it possible to also update the local sha256 hash in this file /var/lib/docker/unraid-update-status.json? Si

Posted Images

How do I access the container while it is running?  Clicking on  ">_console" results in this error:

 

CI runtime exec failed: exec failed: unable to start container process: exec: "binbash": executable file not found in $PATH: unknown

 

  • Author
3 hours ago, VideoVibrations said:

How do I access the container while it is running?  Clicking on  ">_console" results in this error:

 

CI runtime exec failed: exec failed: unable to start container process: exec: "binbash": executable file not found in $PATH: unknown

 

For the console button to work you have to specify the proper shell in the UI Labels. 

39 minutes ago, primeval_god said:

For the console button to work you have to specify the proper shell in the UI Labels. 

which are?  :P 

 

Half joking, can you point me in the right direction?

Edited by VideoVibrations

  • Author
6 minutes ago, VideoVibrations said:

which are?  :P 

From the compose page select the gear and then edit stack. Choose the button that says UI Labels and on the lines that say Shell enter the shell that is available in your containers (typically bash or sh).

Thank you so much for this plugin, migrating from my old ubuntu server is so easy, i just copied the docker-compose.yml files :D

 

Now, i have a question, for the dockers created via "docker-compose up -d" are on network "nameofmydocker_default" instead of "host" or "bridge" like when they're created as apps from CA.

 

there's a way to change it in docker-compose.yml to have "host" or "bridge"? I tried to add network: bridge, but i got error. Not a really big issue, maybe it's just cosmetic?

  • Author
1 hour ago, Tipika said:

Thank you so much for this plugin, migrating from my old ubuntu server is so easy, i just copied the docker-compose.yml files :D

 

Now, i have a question, for the dockers created via "docker-compose up -d" are on network "nameofmydocker_default" instead of "host" or "bridge" like when they're created as apps from CA.

 

there's a way to change it in docker-compose.yml to have "host" or "bridge"? I tried to add network: bridge, but i got error. Not a really big issue, maybe it's just cosmetic?

https://docs.docker.com/compose/networking/#use-a-pre-existing-network

or perhapse

https://docs.docker.com/compose/compose-file/compose-file-v3/#network_mode

Edited by primeval_god

I'm having an issue where once I set the web UI label for a container in a stack, I can't change it. e.g. say I had a container mapped to port 8086, but then needed to change it to 8087, the WebUI link keeps pointing to 8086. Anyone know a workaround?

  • Author
9 hours ago, tkm89 said:

I'm having an issue where once I set the web UI label for a container in a stack, I can't change it. e.g. say I had a container mapped to port 8086, but then needed to change it to 8087, the WebUI link keeps pointing to 8086. Anyone know a workaround?

What version of unRAID are you running? 

7 hours ago, primeval_god said:

What version of unRAID are you running? 

 

I'm running 6.11.5. Compose Manager is updated to 2022.11.17

On 1/20/2023 at 12:10 AM, tkm89 said:

I'm having an issue where once I set the web UI label for a container in a stack, I can't change it. e.g. say I had a container mapped to port 8086, but then needed to change it to 8087, the WebUI link keeps pointing to 8086. Anyone know a workaround?

I think I may be facing a the same issue. I'm trying to get the web ui to redirect to the correct url (when i click the web url button its taking me to https://[SERVERIP].*****.myunraid.net/7575 instead of SERVERIP:7575)

 

However I just noticed that the webui button might not be accepting the changes im making here (After changing the port in the UI Labels and even the compose file,

image.png.e48d69c60c21fb5375cd6068417bb20c.png

 

the webui button still redirected me to 7575)

Screen Shot 2023-01-23 at 9.55.32 AM.png

Edited by Swagnoor19
formatting

is the code close source? I would like to take a lot at the code and see what it does in the background if possible.

On 1/23/2023 at 9:58 AM, Swagnoor19 said:

I think I may be facing a the same issue. I'm trying to get the web ui to redirect to the correct url (when i click the web url button its taking me to https://[SERVERIP].*****.myunraid.net/7575 instead of SERVERIP:7575)

 

However I just noticed that the webui button might not be accepting the changes im making here (After changing the port in the UI Labels and even the compose file,

image.png.e48d69c60c21fb5375cd6068417bb20c.png

 

the webui button still redirected me to 7575)

Screen Shot 2023-01-23 at 9.55.32 AM.png

@primeval_god Are you aware of the https thing being an issue for anyone else?

  • Author
3 hours ago, Swagnoor19 said:

@primeval_god Are you aware of the https thing being an issue for anyone else?

I am aware of the underlying issue. The issue appears to be that changes to the webui container label are not reflected in the webui. Unfortunately so far as i can tell this is not a bug with the compose plugin but rather with the unRAID webui itself. It may be fixed by rebooting the server but I am not in a position to test that at the moment.

20 hours ago, primeval_god said:

I am aware of the underlying issue. The issue appears to be that changes to the webui container label are not reflected in the webui. Unfortunately so far as i can tell this is not a bug with the compose plugin but rather with the unRAID webui itself. It may be fixed by rebooting the server but I am not in a position to test that at the moment.

Sure, thanks for the insight!

  • 4 weeks later...

Can anyone summarize what needs to be done to setup and use this, for someone who is familiar with unraid, and its use of docker, but maybe not well versed (yet) with docker compose?  This would be super helpful.

My case is that I have a docker-compose.yaml for a web app I've written that I'd like to host on my unraid, I don't yet have this plugin installed, and I dont want to go thru the slow process of publishing my work on github, creating an unraid app that gets full (but inadequate) support via the official route....  I wish I could sit here and digest ten long forumn pages, but...that's just not in the cards atm. 

Quote

Can anyone summarize what needs to be done to setup and use this, for someone who is familiar with unraid, and its use of docker, but maybe not well versed (yet) with docker compose?  This would be super helpful.



I just found this, so, sort of answering my own question here:

https://docs.ibracorp.io/docker-compose/docker-compose-for-unraid

 

I also found this, looks very promising:
https://dev.to/felizk/remote-deploy-with-docker-compose-to-unraid-1dai

  • 2 weeks later...

Is it possible to remove a stack via the UI? I can delete the config files, but then are the orphaned containers cleaned up?

 

Thank you for the plugin!

  • Author
6 hours ago, gustyScanner said:

Is it possible to remove a stack via the UI? I can delete the config files, but then are the orphaned containers cleaned up?

 

Thank you for the plugin!

You should not delete a running stack. Do a Compose Down first to remove containers and networks.

  • 2 weeks later...

I added this to my UserScripts plugin on a schedule for weekly to automatically grab any updated images. It is a small variation to what i was using previously updating the docker-compose images before I found this plugin option. The UI then reflects the stack is running like normal with the play icon after the script runs.

 

If you come up with something more interesting, like posting which images were updated to the notification, please share!

 

#!/bin/bash
docker compose -f /PATH/TO/docker-compose.yml -f /PATH/TO/docker-compose.override.yml -p YourProjectName pull
docker compose -f /PATH/TO/docker-compose.yml -f /PATH/TO/docker-compose.override.yml -p YourProjectName  up -d --remove-orphans
docker image prune -f
/usr/local/emhttp/webGui/scripts/notify -i normal -e "Docker Image Update Completed"

 

You can check your required yml paths and your.project name by having the stack running via the ui then running shell

docker compose ls

Hi, first, thank you for this plugin. Any plans on updating Ig for unraid 6.12? I'd be willing to help as well if you need it. 

Edited by Lightarrow

Quick glance shows that it works on 6.12?  I don't use this, but what am I missing?

  • Author
11 hours ago, Lightarrow said:

Hi, first, thank you for this plugin. Any plans on updating Ig for unraid 12? I'd be willing to help as well if you need it. 

Plans yes, but I have not had time to setup a test machine and address the PHP changes. 

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.