Please help me understand the use of the docker-compose trigger.
I have a git repo of all my compose files on my server structured as /volume2/docker/{CONTAINER}/docker-compose.yml
What i would like to do:
Make a change to my compose file on my remote repo
Push changes to the repo on my server
This triggers WUD to do all the things from the docs to the container
Is this how the trigger works? Here is my compose file with the intent to perform the trigger on the WUD compose file:
I have also tried mounting the compose file itself like this: /volume2/docker/wud/docker-compose.yml:/docker/wud/docker-compose.yml
Neither config updates my container on a push to the repo. Is there anything else I need to add if this is possible?
Thanks!
Please help me understand the use of the docker-compose trigger. I have a git repo of all my compose files on my server structured as
/volume2/docker/{CONTAINER}/docker-compose.yml
What i would like to do:Is this how the trigger works? Here is my compose file with the intent to perform the trigger on the WUD compose file:
I have also tried mounting the compose file itself like this:
/volume2/docker/wud/docker-compose.yml:/docker/wud/docker-compose.yml
Neither config updates my container on a push to the repo. Is there anything else I need to add if this is possible? Thanks!