Starlake is a YAML based integrated declarative data stack that make files ingestion and SQL / Python transformations pipelines easy to build, maintain, and monitor. It also provides a rich and intuitive UI to build and manage your data pipelines. The core project is open source and can be found at starlake-ai/starlake
Running Starlake on Docker is as easy as running a single command. This guide will walk you through the steps to run Starlake on Docker.
- Clone this repository
git clone https://github.com/starlake-ai/starlake-docker.git
- Change directory to the cloned repository
cd starlake-docker/docker
- Run the following command to start Starlake UI with Airflow on Docker
docker compose up
to run Starlake UI with Dagster on Docker, run the following command
docker compose -f docker-compose-dagster.yml up
To run on a different port, set the SL_UI_PORT
environment variable. For example, to run on port 8080, run the following command
SL_UI_PORT=8080 docker-compose up
- Open your browser and navigate to
http://localhost
or if you chose a different porthttp://localhost:$SL_UI_PORT
to access Starlake UI
That's it! You have successfully started Starlake UI on Docker.
If you have any starlake container projects and want to mount it:
- run
setup_mac_nfs.sh
if you are on mac in order to expose your folder via NFS. Modify the root folder to share if necessary. By default it is set to /user. This change is not specific to starlake and may be used in other container. - comment
- external_projects_data:/external_projects
- uncomment
- starlake-prj-nfs-mount:/external_projects
- go to the end of the file and modify the path of the volume to point to the starlake container folder
Starlake container folder should contain the starlake project folder:
my_container_to_mount
|
- sl_project_1
|
- metadata
- ...
|
- sl_project_2
|
- metadata
- ...
If you have many container projects, create as many volume as needed.
- Currently, we cannot mount the starlake projects directory directly under the mounted
/external_projects
. Subfolders of the mounted external project can't be accessed correctly. - This feature has been tested only on mac at the moment
To stop Starlake UI, run the following command in the same directory
docker compose down