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

  • Author
On 11/10/2022 at 4:41 PM, Dark_Lobster said:

Same issue here with a Mealie stack......happened after the last Unraid update I think....

Would you be able to run the following on the command line an PM the result to me?

/usr/local/emhttp/plugins/compose.manager/scripts/compose.sh -c list

 

  • Replies 872
  • Views 326.4k
  • 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

I think there is a bug when activating the help on compose settings, here:

 

image.thumb.png.dee0e67ff9eaecc0d770944711dde448.png

 

If you keep this activated and moves around the GUI all tooltips are activated and if you turn it off one of these they are still active returning to the same page. You have to turn off "?" on compose settings to bring it back to normal GUI behaviour.

 

image.thumb.png.0fa5583ffab809de0bdb020b5a6b3edd.png

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? Since local sha256 is different from remote sha256 there, dockerman keeps showing update ready until I manually update the local sha256 hash.

 

"library/traefik:latest": {
    "local": "sha256:2e53e47b59bc9a799b6c7b0d6d65f529de478094781751f1e061516ce9ca7c68",
    "remote": "sha256:ac1480ce3203541705b01d6dce40ef4bf563cdb29d5b00db88cc396fa9fa9cd5",
    "status": "true"
}

Edited by sjtuross

Apologies if this is already asked, but the default Docker system always shows the containers as having an available update. This causes Fix Common Problems to have a hissy fit. I can ignore those warnings if I have to, but is there any way for the Compose Up//Update Stack processes to tell Unraid's Docker implementation that they've done an update?

 

If not, is there a way (in your opinion) that the problem could be addressed from the Unraid side?

 

Thanks!

 

11 hours ago, ehawman said:

If not, is there a way (in your opinion) that the problem could be addressed from the Unraid side?

That's what the post just above yours is about. 

  • Author
On 11/17/2022 at 2:15 AM, alexbn71 said:

I think there is a bug when activating the help on compose settings, here:

 

If you keep this activated and moves around the GUI all tooltips are activated and if you turn it off one of these they are still active returning to the same page. You have to turn off "?" on compose settings to bring it back to normal GUI behaviour.

 

The help icon switches the global help on in unraid. You should be able to turn it off by unclicking the help icon in the side bar.

8 hours ago, Kilrah said:

That's what the post just above yours is about. 

 

Oh derp. I saw "sha256 hash", saw the hashes below, and immediately skipped the rest of the post thinking it was irrelevant. My bad.

  • 2 weeks later...

Is there a way to run the "compose up" button that executes the command with the option --remove-orphans?

There are times I comment a container in the config and the orphan errors keep appearing in the command execution.

What I do at the moment is go to the CLI and nacigate to /boot/config/plugins/compose.manager/projects/apps.

While inside that directory I then execute:

docker compose up -d --remove-orphans

 

It works great in that manual way. Any other update (not including commenting a container) works as expected with the "compose up" button.

On 11/18/2022 at 8:23 AM, sjtuross said:

...

Is it possible to also update the local sha256 hash in this file /var/lib/docker/unraid-update-status.json? Since local sha256 is different from remote sha256 there, dockerman keeps showing update ready until I manually update the local sha256 hash.

 

"library/traefik:latest": {
    "local": "sha256:2e53e47b59bc9a799b6c7b0d6d65f529de478094781751f1e061516ce9ca7c68",
    "remote": "sha256:ac1480ce3203541705b01d6dce40ef4bf563cdb29d5b00db88cc396fa9fa9cd5",
    "status": "true"
}

Very much this. Is this an accepted feature request?

  • Author
On 12/4/2022 at 5:18 AM, NAS said:

Very much this. Is this an accepted feature request?

This feature request is acknowledged though at this time I do not plan to implement it. I am trying to avoid reaching to deeply into dockerman for the implementation of this plugin. Sorry to disappoint.  

  • 2 weeks later...
On 12/3/2022 at 3:09 AM, djismgaming said:

Is there a way to run the "compose up" button that executes the command with the option --remove-orphans?

There are times I comment a container in the config and the orphan errors keep appearing in the command execution.

What I do at the moment is go to the CLI and nacigate to /boot/config/plugins/compose.manager/projects/apps.

While inside that directory I then execute:

docker compose up -d --remove-orphans

 

It works great in that manual way. Any other update (not including commenting a container) works as expected with the "compose up" button.


Not sure if this helps but I have a script which executes my arguments so I don't need to cd to the directory everytime. Only problem is I don't know how to set container icons within a docker-compose.yml.

 

#!/bin/bash
(cd /mnt/user/path/to-thing;docker compose -f docker-compose.yml -f extensions/extension/extension.yml up) 

 

  • Author
17 hours ago, wolfNZ said:

Only problem is I don't know how to set container icons within a docker-compose.yml.

Icons are set with a container label net.unraid.docker.icon point to the address of an appropriately sized png image.

  • 2 weeks later...

CPU pinngin?

Is it possible to add support for CPU-Pinning? I would like to see this feature.

Any chance you can add an anchor link to the docker compose section of the docker page and make it so that when you select "Edit Compose File" or "Edit .env File" it appends the anchor tag to the link so that the compose section is automatically scrolled into view? Thanks! :)

Edited by Christopher Haws

Hello here :)
I'm fresh new unraid user but I already used this must have plugin :)

But I can see that some intégration with unraid is not perfect, can I suggest or ask if these points are plan/possible :
- add labels for 
registry in order to have registry webgui text "clickable"

- make some tweaks to give ability to unraid for check and perform update

thanks already ;)

  • Author
3 hours ago, Cyrilphoenix said:

- add labels for registry in order to have registry webgui text "clickable"

This would be a feature request for the unRAID webui rather than this plugin. Currently in dockerman only the icon, webui link, and console selection can be specified by docker label.

 

3 hours ago, Cyrilphoenix said:

- make some tweaks to give ability to unraid for check and perform update

thanks already ;)

At this time no further integration with the Dockerman update functionality is planned sorry.

thanks for answers ;)
dis you have links for submit issue or PR in each ?

Hello again, another question please.
Is it possible to use env_file feature ? I'd like to specify a global env_file in my compose who is store in a parent folder not in the same directory of compose file stack.

  • Author
21 hours ago, Cyrilphoenix said:

Hello again, another question please.
Is it possible to use env_file feature ? I'd like to specify a global env_file in my compose who is store in a parent folder not in the same directory of compose file stack.

You can use the 'env_file' option in your compose file to specify an env file anywhere you like. The compose manager ui however will only allow you to edit the env file in stack directory.

4 hours ago, primeval_god said:

You can use the 'env_file' option in your compose file to specify an env file anywhere you like. The compose manager ui however will only allow you to edit the env file in stack directory.

Thanks, did you have an example because I have test some things without success? 

Is there a way to change the log level? I would like more info. 

Edited by VideoVibrations

  • Author
11 hours ago, VideoVibrations said:

Is there a way to change the log level? I would like more info. 

Check the settings page.

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.