.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
- Navigate to the directory where FileFlows is installed
- Create a file named
.env - Add configuration values in the following format:
FF_AGENT_MODE=Signalr
- Save the file
- 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
.envrequire a restart of FileFlows to apply