Sam Miller 5a25952167 Website: Fix documentation of Flamenco Worker YAML task types list
The example on the project website is incorrect:

```
task_types: blender, ffmpeg, file-management, misc
```

It results in an error:

```
loading configuration: yaml: unmarshal errors:\n line 2:
  cannot unmarshal ||str "blender..." into []string
```

The fix seems to be adding square brackets around the list of comma
delineated tasks:

```
task_types: [blender, ffmpeg, file-management, misc]
```

This results in output with the confirmation that
`taskType=["blender","ffmpeg","file-management","misc"]`
2022-08-31 15:42:58 +02:00

1.7 KiB

title weight
Worker Configuration 3

Flamenco Worker will read its configuration from flamenco-worker.yaml in the current working directory.

This is an example of such a configuration file:

manager_url: http://flamenco.local:8080/
task_types: [blender, ffmpeg, file-management, misc]

The task types are determined by the [job compiler scripts][scripts]. The ones listed here are in use by the default scripts. These determine which kind of tasks this Worker will get. See [task types][task-types] for more info.

[scripts]: {{< ref "usage/job-types" >}} [task-types]: {{< ref "usage/job-types" >}}#task-types

Worker Local Files

Apart from the above configuration file, which can be shared between Workers, each Worker has a set of files that are specific to that Worker. These contain the worker credentials, which are used to identify this worker to the Manager, and a database file to queue task updates when the Manager is unreachable.

These files are stored in a platform-specific location:

Platform Default location
Linux $HOME/.local/share/flamenco
Windows C:\Users\UserName\AppData\Local\Blender Foundation\Flamenco
macOS $HOME/Library/Application Support/Flamenco

Configuration from Environment Variables

Certain settings can be configured via environment variables.

  • FLAMENCO_HOME: Directory for Worker local files. If not given, the above defaults are used.
  • FLAMENCO_WORKER_NAME: The name of the Worker. If not specified, the Worker will use the hostname.