# Worker Configuration

The worker options can be configured by command line options or by specifying a worker configuration file when running it.

The configuration file can be used to:

  • Specify default values for the worker (instead of specifying them inside the jobs themselves).
  • Specify additional advanced sidekiq configuration options.

# Sample worker configuration file

config/my-worker.yml
---
:concurrency: 2
:queues:
- critical
- default
- mundane

Place your YAML config file inside the config folder, and use the jobly worker --config my-worker to use it.

See the Worker Configuration Example for more details:

Worker Configuration
/examples/worker-config/