Article What is the Job container image?

The job image runs Community background processing outside of the web process. For standard local use, prefer Compose.

Prerequisites

Purpose

Use the job container to:

  • Run required scheduled and queued background work

Dependencies

The job image normally depends on the same core services as web:

  • SQL Server
  • CFS mounted at /app/cfs
  • Community's Solr-based Search service
  •  Infra, or a custom message bus and distributed cache service.
  • any enabled support services referenced by plugin configuration.

Configuration

Configuration is flexible, and supports configuration via JSON, environmental overrides, and more. Review the sample Compose stack, which supplies configuration through a mounted JSON file plus environment-based configuration sources .

Volumes and Ports

  • Mount the same CFS path used by web.
  • Mount the same stack-specific settings file used by web.

Startup Expectations

  • job should wait for installer to complete and exit.
  • job should share exactly the same Community site data and CFS content as web.
  • There should not be more than one job instance per deployment.