Levelrail
Skip to content

Self-host Windmill with Docker ​

Turn scripts in Python, TypeScript, Go, and SQL into webhooks, workflows, and internal UIs.

This page describes the Levelrail template for Windmill (Automation). It deploys the services below as one Docker Compose app on your own server.

Project site: https://www.windmill.dev/docs.

Recommended memory: about 2048 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
windmill_db_data -> /var/lib/postgresql/data
windmillghcr.io/windmill-labs/windmill:1.365.08000
windmill_worker_logs -> /tmp/windmill/logs
windmill_worker_cache -> /tmp/windmill/cache

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
windmillBASE_URLPreset in the template
windmillDATABASE_URLGenerated at deploy
windmillMODEPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Windmill with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Windmill. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy windmill --name my-windmill

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Automation templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.