Hisham
Hisham5mo ago

Windmill Workflows Code as Docker Volume

Hi all!! I am setting up Windmill for my team, and want my code to be automatically integrated into Windmill when they start up the docker-compose as a Docker volume. Currently, the initial set up steps are for my team to open the Windmill UI, create a workspace, then download the wmill CLI tool, sync the CLI with the Windmill workspace and then wmill sync push my workflow code into Windmill. Obviously this is a long process and the team will have to always wmill sync push if any changes were made to the Windmill workflow code. Is there a way to attach my code as a Docker volume such that it is always integrated without having to go through all these setup steps? Thanks🌟
2 Replies
rubenf
rubenf4mo ago
Hi @Hisham , it's not feasible since the code is stored on the database and not on a file system. But the CLI is a really fast tool so I think with a bit more automation what you aim could be done
Alper
Alper4mo ago
You could create a custom docker image that does the syncing in the entrypoint. Or create docker compose with the default image for windmill and a separate docker service that pulls the code from the file system or git, then pushes it to the windmill workspace.