Skip to main content

Configuration options

The Nextflow configuration is organized into config scopes. The following pages describe the available settings in each scope.

Each setting is listed by its fully qualified name, which includes the enclosing scopes. You can write a setting using either dot syntax or block syntax:

// dot syntax
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g)'

// block syntax
docker {
enabled = true
runOptions = '-u $(id -u):$(id -g)'
}

See Blocks for more information about the two forms.

Config scopes

PageDescription
Unscoped optionsSettings that are not part of a config scope.
appleContainerControls how Apple container is used by Nextflow.
apptainerControls how Apptainer containers are executed by Nextflow.
awsControls the interactions with AWS, including AWS Batch and S3.
azureControls the interactions with Azure, including Azure Batch and Azure Blob Storage.
charliecloudControls how Charliecloud containers are executed by Nextflow.
condaControls the creation of Conda environments by the Conda package manager.
dagControls the generation of the workflow diagram.
dockerControls how Docker containers are executed by Nextflow.
envDefines environment variables that are exported into the environment where tasks are executed.
executorControls various executor behaviors.
fusionProvides advanced configuration for the use of the Fusion file system.
googleControls the interactions with Google Cloud, including Google Cloud Batch and Google Cloud Storage.
k8sControls the deployment and execution of workflow applications in a Kubernetes cluster.
lineageControls the generation of lineage metadata.
mailControls the mail server used to send email notifications.
manifestDefines pipeline metadata that is useful when publishing or running your pipeline.
nextflowControls the retry policy used for retryable operations.
notificationControls the automatic sending of an email notification on workflow completion.
podmanControls how Podman containers are executed by Nextflow.
registryConfigures the registries used to resolve modules and plugins.
reportControls the generation of the execution report.
sarusControls how Sarus containers are executed by Nextflow.
seqeraControls the interactions with Seqera services.
shifterControls how Shifter containers are executed by Nextflow.
singularityControls how Singularity containers are executed by Nextflow.
smolvmControls how smolvm microVMs are used by Nextflow.
spackControls the creation of Spack environments by the Spack package manager.
timelineControls the generation of the execution timeline.
towerControls the settings for Seqera Platform (formerly Tower Cloud).
traceControls the generation of the trace file.
waveProvides advanced configuration for the use of Wave containers.
workflowProvides workflow execution options.
On this Page