Skip to main content

.env Configuration

FileFlows supports configuration using environment variables. These can be set either through Docker or by using a .env file for non-Docker installations.


Docker

When using Docker, environment variables can be set in your docker run command or in a docker-compose.yml file.

Example:

services:
fileflows-agent:
image: revenz/fileflows-node
environment:
- FF_AGENT_MODE=Signalr

Non-Docker Installations

For non-Docker installs, FileFlows reads configuration values from a .env file located in the application directory.

Creating a .env File

  1. Navigate to the directory where FileFlows is installed
  2. Create a file named .env
  3. Add configuration values in the following format:
FF_AGENT_MODE=Signalr
  1. Save the file
  2. Restart FileFlows for the changes to take effect

Notes

  • Each setting should be on its own line
  • Lines starting with # are treated as comments
  • Changes to .env require a restart of FileFlows to apply