Skip to main content

🐱 Selflow-Daemon

Added features​

  • GRPC API
  • Support for Docker Steps

Selflow-Daemon is, as of today, the primary implementation of Selflow. It adds capabilities for docker steps and can communicate with a GRPC API.

It runs on port 10011 in a docker container to allows you to remove it easily. It still needs to access a folder on your machine. Usually the /etc/selflow folder but you can customize it using environment variables

Requirements​

Getting started​

The easiest way to start the Selflow-Daemon is to use the CLI

selflow recreate-daemon

The Deamon will be running on port 10011 on your system and run logs will be stored in the /etc/selflow directory on your system.

Customisation​

You can customize the Selflow Daemon behavior using environment variables that you can directly add to the Selflow CLI

VariableDefault ValueRole
SELFLOW_DAEMON_PORT10011Port where the Selflow Daemon will run
SELFLOW_DAEMON_NAMEselflow-daemonName of the container
SELFLOW_DAEMON_NETWORKSame as SELFLOW_DAEMON_NAMEName of the network
SELFLOW_DAEMON_IMAGEselflow-daemon:latestName of the docker image
SELFLOW_DAEMON_HOST_BASED_DIRECTORY/etc/selflowName of the directory on host where files will be stored. It will be mapped as a volume