Skip to content

A docker container that recreates the Adobe Managed Services "Dispatcher 2.0" file structure on a Red Hat Enterprise Linux 7 OS.

Notifications You must be signed in to change notification settings

ericvangeem/ams-dispatcher-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMS Dispatcher Docker

A docker container that recreates the Adobe Managed Services "Dispatcher 2.0" file structure on a Red Hat Enterprise Linux 7 OS.

For your own project, simply add the Dockerfile and envvars files to your project's dispatcher/src folder (and optionally commit to your own version control).

This repository comes with a baseline dispatcher configuration for a site titled "mysite". These configurations (all /conf* directories) can be ignored when copying the aforementioned files into your own project.

Setup

  1. Modify your /etc/hosts file to add the following entries:
127.0.0.1 aem-publish.local
127.0.0.1 aem-author.local
  1. Add the provided Dockerfile and envvars files to your project's dispatcher/src folder

Build

cd <your-aem-project>/dispatcher/src

docker build -t ams-dispatcher .

Run

  • Ensure you have an AEM author instance running on localhost:4502
  • Ensure you have an AEM publish instance running on localhost:4503
  • Ensure you don't already have a local web server running on port 80. If so, stop it before proceeding.

Run the Docker image:

docker run -it -p 80:80 ams-dispatcher

You should now be able to hit the above configured hosts:

Additional Notes

Configure Dispatcher Flush Agent

Enable your author or publish flush agent with a transport URI of http://aem-publish.local:80/dispatcher/invalidate.cache to ensure cached files are invalidated upon activation.

Flush agent config

Limitations

This Docker image has only been tested on macOS and may not yet work on Windows

About

A docker container that recreates the Adobe Managed Services "Dispatcher 2.0" file structure on a Red Hat Enterprise Linux 7 OS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published