workers section in your app configuration:
.upsun/config.yaml
symfony binary is available when you use the Symfony
integration in your Upsun app configuration.
On Upsun, worker containers run the exact same code as the web container.
The container image is built only once and deployed multiple times in its own container alongside the web container.
The build hook and dependencies might not vary but,
as these containers are independent, they can be customized the same way using common properties.
The values defined for the main container are used as default values.
Tip
When the container is running in the context of a worker, theSYMFONY_IS_WORKER environment variable is defined and set to 1.commands.start key is required.
It specifies the command you can use to launch the application worker.
If the command specified by the start key terminates, it’s restarted automatically.
For more information, see Workers.