Start Kestra with a Postgres database backend using a Docker Compose file.
The quickest way to a production-ready lightweight Kestra installation is to leverage Docker and Docker Compose. This guide will help you get started with Kestra using Docker.
Make sure you have already installed:
Download the Docker Compose file using the following command:
curl -o docker-compose.yml \
If you don't have
curl installed, you can download the Docker Compose file manually and save it as
Use the following command to start Kestra server:
docker-compose up -d
Open the URL
http://localhost:8080 in your browser to launch the UI.
The command above starts a standalone server (all architecture components in one JVM).
The configuration will be done inside the
KESTRA_CONFIGURATION environment variable of the Kestra container. You can update the environment variable inside the Docker compose file, or pass it via the Docker command line argument.
If you pass it via the Docker command line argument, don't forget to add existing configuration or nothing will work anymore.
If you want to extend your Docker Compose file, modify container networking, or if you have any other issues using this Docker Compose file, check the Troubleshooting Guide.