wolff453
wolff4532w ago

Enterprise solution

Hello! We are planning to use the windmill enterprise and i have a question regarding environments.. With enterprise self-hosted, can we have environments like DEV/STG/PRODUCTION?
1 Reply
fjørdlek
fjørdlek2w ago
Hi there, yes you can easily set up multiple instances or workspaces within an instance and treat them as dev/stg/prod. There is a built in way to promote scripts from a dev/stg -> prod workspace via the UI, but in general we recommend using a "git ops" based workflow to use the wmill cli to push scripts from dev -> prod you can set your staging workspace to be synced to a git repo. anytime you save a new workflow/script, you can have it create an automatic pull request against your repo and define an action to push to your prod workspace/instance once merged. https://www.windmill.dev/docs/advanced/git_sync https://www.windmill.dev/docs/core_concepts/staging_prod
Git sync | Windmill
From the workspace settings, you can set a gitrepository resource on which the workspace will automatically commit and push scripts, flows and apps to the repository on each deploy.
Deploy to prod using the UI | Windmill
From a workspace in Windmill, you can deploy a item and all its dependencies to another workspace. This is a natural way of implementing staging/prod. This feature is available for Cloud plans and Self-Hosted Enterprise Edition only.

Did you find this page helpful?