Is docker needed to launch a local dispatcher ? | Community
Skip to main content
Jniza
Level 2
August 10, 2023
Solved

Is docker needed to launch a local dispatcher ?

  • August 10, 2023
  • 2 replies
  • 845 views

Hello everyone,
I'm working on an AEM as a Cloud Service project. I want to test dispatcher rules but I don't want to deploy every time I make a change.


Is Docker necessary to have a 'local dispatcher'?


If I have a multi-module Maven project, is it enough to copy the conf.d folders from the module to my dispatcher folder?

I'm quite lost, so if you could shed some light, that would be great.

Best regards!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@jniza 

 

The AEM SDK's dispatcher with docker provides a quick way to set it up. You can also make changes in the Docker Image directly, verify the changes and copy your files back to maven project.

 

Otherwise you can set up a dispatcher locally and sync the files. Structure and rules. It should still work.

Setting up a dispatcher via Apache webserver https://aemtutorials.com/dispatcher-setup-in-aem-6-4/

2 replies

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
August 10, 2023

@jniza 

 

The AEM SDK's dispatcher with docker provides a quick way to set it up. You can also make changes in the Docker Image directly, verify the changes and copy your files back to maven project.

 

Otherwise you can set up a dispatcher locally and sync the files. Structure and rules. It should still work.

Setting up a dispatcher via Apache webserver https://aemtutorials.com/dispatcher-setup-in-aem-6-4/

Aanchal Sikka
EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 10, 2023

Hi @jniza, as explained by @aanchal-sikka, you can take advantage of the dispatcher tools which come as part of the AEM SDK. Here, you will find a docker dispatcher image for your convenience, so you don't have to set up a dispatcher locally; instead, you can simply mount the dispatcher image in your docker engine.

 

Additionally, there is a script that allows you to perform a "hot reload" for dispatcher configs and validation, which I believe is what you are looking for.

 

You can find instructions on how to use it here. it: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/content-delivery/validation-debug.html?lang=en#automatic-reloading 

Esteban Bustamante