Skip to main content

2. Starting the engine

Use the CLI to start the engine locally:

coflux engine --no-auth

The --no-auth flag disables authentication, which simplifies getting started. See the authentication documentation for options for setting up authentication for production use.

By default, the engine uses a project called "default". Use --project to choose a different name — a project is a top-level unit of isolation with its own data, orchestration process, and set of workspaces. See engine configuration for more details.

note

The first time, the CLI downloads the engine to match its version, and keeps it in your user cache directory. The engine keeps its data in ./data.

Alternatively you can run the engine in Docker, with coflux engine --docker --no-auth, or with Docker directly:

docker run \
--pull always \
-p 7777:7777 \
-v $(pwd):/data \
-e COFLUX_REQUIRE_AUTH=false \
ghcr.io/bitroot/coflux

The engine is now running on localhost:7777.

Next, we can define a workflow...