omv-extras 6.3 / openmediavault-compose 6.7

  • You are correct in saying that I should have know better that Portainer is just a "front end" tool, "wrapper" as you say, but without much of an explanation as to "background" of the change I was concern. There is "no harm" done and I think that OMV is progressing in the right direction, so all is good.

    On the subject of compose plugin being available for a long time, I use very few plugins in OMV. One of them is MariaDB for Kodi database. My OMV/NAS is just that, NAS as a personal cloud and NAS as a multimedia storage/server. I do not use it as a Firewall, Anti Virus nor Reverse Proxy. I have and use, no offense to anyone, better means, IMHO, of doing all of that. So that is the reason why I do not check/look into available plugins. So, in some respect, it is my own fault of not seeing "compose plugin" and investigating it for what it is. But, as I said, all is good and no harm was done.

    Arch Linux, Linux Mint 22, FreeBSD KDE Plasma6

    OMV7 NAS 10GB Fiber, Fractal Design Define R5 Case, Kodi "Omega", pfSense Plus firewall/router

  • One of them is MariaDB for Kodi database

    What I got used to is, for those really important containers, just have a failsafe backup of both the config volumes and the YML.


    Solution is to have a rsync clone of the appdata (config) folder on another disk. (config folders won't be that big. Although a Database might be quite some gigas)

    Then for test, just kill/nuke the container, edit the YML to point to the new folder (volume/config/appdata, etc) and redeploy the container.

    It will be as if nothing happened. :)

    But, as I said, all is good and no harm was done.

    And this was the final goal with the transition, ;)

  • Yes, I utilize "rsync" extensively for doing 1:1 copy/image of my important data. HD`s are so inexpensive these days, I use 11 (9 internal and 2 USB) of them on my NAS. Chances of 2 (two) HD`s going bad at the same time is slim to none, so I do not even bother with RAID. For home use it just complicate, RAID, things too much.

    Arch Linux, Linux Mint 22, FreeBSD KDE Plasma6

    OMV7 NAS 10GB Fiber, Fractal Design Define R5 Case, Kodi "Omega", pfSense Plus firewall/router

  • watchtower can delete images after it updates them.

    set up the environment parameter

    Code
    WATCHTOWER_CLEANUP = true

    I don't use watchtower to do the updates, just for the email, so for me the new plugin is nice and easy for pruning.

    I've also started using Diun for checking of updated images, I don't like the way it does and email for each image though, so I use dozzle to check the logs of Diun and the rest of my containers. As we know there is rarely just one way to do somethings with computers :)

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

  • TBH you've timed it right to come to this forum, as most of the questions have been answered and a guide has been produced. I humbly suggest you take a little while and read the guide on here and the omv6_plugins:docker_compose doc and the change and setup will be a lot easier than you think.

    I really like this plugin, I was a big user of portainer and yacht, but neither of them made it as easy as this plugin does to backup your docker-compose.yml (stacks) files, for me it's worth it just for that feature alone.


    But as others have said, you get the best of both worlds though, not often that happens.

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

    • Official Post

    Nope, still shows nothing

    Do you see any containers in the Stats tab? What is the full path of the shared folder you set on the Settings tab? You can find in the Storage -> Shared Folders tab in the Absolute Path column (may need to make it visible). Also, what is the output of:


    dpkg -l | grep -E "openme|docker"

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    Edited once, last by ryecoaaron ().

    • Official Post

    Does this mean that the ability to include self-hosted templates will be a part of the feature in the future - in the way that some other NAS distros have this integrated?

    What is a self-hosted template?

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    What is a self-hosted template?

    GitHub - SelfhostedPro/selfhosted_templates: Portainer templates for selfhosted services
    Portainer templates for selfhosted services. Contribute to SelfhostedPro/selfhosted_templates development by creating an account on GitHub.
    github.com

    • Official Post

    I've just been reading https://wiki.omv-extras.org/do…v6_plugins:docker_compose

    I was going through 'How to update a single docker-compose container' section and it seems to me that the first line is wrong, can't all this be done from 'Services > Compose > Files' now?

    No. If you do it in Services>Compose>Files you will update all the containers defined inside the yaml file.

    To update a single container you must do it from the tab Services>Compose>Containers

    • Official Post

    Then no, those will not be part of the compose plugin. The first problem is that they require portainer. I see the example compose files available on the files tab as being pretty much an equivalent. We just need more people to contribute to the examples.

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • If I remember correctly doesn't that just setup a container with no editable yml file when in portainer. This is very much like the 'add from example' we have in the plugin, but what nice with the plugin 'add from example' is that it creates a docker-compose file.


    So if this was added, which I do think is a nice idea, we would have a truecharts for OMV, but I would really like it if it follows the 'add from example' option and create a docker-compose file.


    I just think the docker-compose file is a better way to go rather that the old way OMV used to a docker image, whereby you had to add stuff via a page of options.

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

  • No. If you do it in Services>Compose>Files you will update all the containers defined inside the yaml file.

    To update a single container you must do it from the tab Services>Compose>Containers

    The only yml file I have more than 1 container is nginx, everything else I run is a single yml file for each container. So for me personally I assume I can do all from Services->Compose->Files? Or I'm I still getting wrong?

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

  • Then no, those will not be part of the compose plugin. The first problem is that they require portainer. I see the example compose files available on the files tab as being pretty much an equivalent. We just need more people to contribute to the examples.

    What do you require for an example? Just going to linuxserver.io and grabbing the docker-compose file and sending it to you? If so, I don't mind making a start on that. Or you've got a template on what you require please post url so I can look at it.

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

    • Official Post

    The only yml file I have more than 1 container is nginx, everything else I run is a single yml file for each container. So for me personally I assume I can do all from Services->Compose->Files? Or I'm I still getting wrong?

    In that case you would be using the following procedure https://wiki.omv-extras.org/do…_docker-compose_yaml_file

    A common example of this is Nextcloud together with nginx and mariadb, which are usually included in the same yaml file. If you want to update only Nextcloud you must do it in the Containers tab.

  • What do you require for an example? Just going to linuxserver.io and grabbing the docker-compose file and sending it to you? If so, I don't mind making a start on that. Or you've got a template on what you require please post url so I can look at it.

    Just a thought as a new user, if there is no writing guide, it would be nice to base any examples on the guide in the wiki that uses jellyfin. In other words follow the naming conventions used in the example and locations, etc. It may bring down the learning curve to just get something working correctly the first time. Thanks.

  • In that case you would be using the following procedure https://wiki.omv-extras.org/do…_docker-compose_yaml_file

    A common example of this is Nextcloud together with nginx and mariadb, which are usually included in the same yaml file. If you want to update only Nextcloud you must do it in the Containers tab.

    I get that, but I'll do all mine from the files menu, unless I have some bigass yml file with loads of containers in it. If I can save clicks I'm going for it :)

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

  • This is pointless.

    The example is nothing more than the YML already available for the service on docker hub or GitHub.

    Then copy/paste to the plugin and edit per use case

  • This is pointless.

    The example is nothing more than the YML already available for the service on docker hub or GitHub.

    Then copy/paste to the plugin and edit per use case

    I understand and thats what I do, but you'd be surprised how often people just won't or can't do that and like the option of just clicking a few buttons and have the yml file there. And looking at a couple of the examples and there are a good number there already, I don't mind spending some time on going to linuxserver.io and grabbing docker-compose files and sending them to ryecoaaron if it makes his and others life easier.

    OMV Version 7.latest | AMD Ryzen 5600G with 64GB | JBOD EXT4 & BRTFS

    Various Unifi router & switches | Only Linux laptops and PC's

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!