Local Dispatcher Setup || AEM 6.5 | Community
Skip to main content
Level 5
June 14, 2021

Local Dispatcher Setup || AEM 6.5

  • June 14, 2021
  • 3 replies
  • 2767 views

Hi Team,

Hope you all are safe.

Although am not a  DISPATCHER Expert but due to project requirement, We are trying to setup dispatcher locally.,

 

I followed this link https://engineering.icf.com/local-aem-dispatcher-made-easy/ and found it quite easy.

 

I followed all steps written and I see this project structure in my local as :

 

PROBLEM STATEMENT:

 

We have already one dispatcher module project in place and its structure is quite different from above one.This project is having real project configurations that I need to install locally and test.

Please see below:

 

 

 

Now, is there any way we can use above dispatcher configuration in place of the  one  that I cloned while following above link.?

 

Regards,

AP

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Level 2
June 14, 2021

If I understand the issue correctly, you want to take the project dispatcher configs from your codebase and use them in the Docker project you grabbed off of github?

 

It is possible to use your project disp configs but you will need to rewrite the Dockerfile so that it understands the configuration. The blog post on how to make a local disp setup easy is just putting everything into 2 files and including the dispatcher module. Which honestly is how things used to be done back before AEM 6.3. When it comes to AEM 6.5 disp configs are broken out a bit more so that you can use the same set in multiple environments and have reuse between different vhosts.

 

Instead of trying to make your configs fit into that Docker container, I would start over with a blank Linux/Apache Docker container and build off of that.

arvind-1Author
Level 5
June 15, 2021
@bmccurdy, Thank you for your reply. Do you suggest any link which I can follow in order to have blank Docker container? Thanks in advance.
arunpatidar
Community Advisor
Community Advisor
June 15, 2021

Hi,

we deployed the dispatcher changes from git repo, for local we used the aem-sdk to setup dispatcher in AEMaaCS but the dispatcher works with traditional AEM as well.

you can find more details here if this approach helps

http://aemlab.blogspot.com/2020/09/aemaacs-setup.html

Arun Patidar
arvind-1Author
Level 5
June 15, 2021

Hi All ,

 

@arunpatidar 

@bmccurdy 

 
 

I tried to follow another article as its archetype structure is very close to our project code base.

https://blogs.perficient.com/2021/01/05/setting-up-a-local-aem-dispatcher-with-docker/

 

After I performed all steps successfully.

 

PROBLEM STATEMENT:

When I try to access local:8082, It gives "You don't have permission to access / on this server.".(I changed port from 80 to 8082 in docker-compose.yml).

 

 

Below are docker-compose.yml and Dockerfile for the reference.

 

 

 

 

Any help would be really appreciated. Thanks.

 

Regards,

AP