AEM's dispatcher running in Apache
4.0K
Docker image containing Dispatcher for AEM.
Run dispatcher with the default configuration using
docker run -p 8080:80 aemcloud/dispatcher:<version-tag>
# Example
docker run -p 8080:80 aemcloud/dispatcher:4.3.2
Once running, visit http://localhost:8080 in a browser.
Environment variables can be used to configure which publish instance dispatcher is using as a renderer.
docker run -p 8080:80 -e PUBLISH_DOMAIN=domain.tld -e PUBLISH_PORT=5503 aemcloud/dispatcher:4.3.2
PUBLISH_DOMAINThe domain/ip for publish. Defaults to localhost
PUBLISH_PORTThe port for publish. Defaults to 4503
AUTO_RELOADSet to true to gracefully reload apache when anything in /etc/httpd/conf.d/
changes. Any other value disables the auto reload. Default is set to true.
Dispatcher can be configured by placing the config files in the correct spots. This can be done using a dockerfile like this:
FROM aemcloud/dispatcher:4.3.2
COPY ./dispatcher.conf /etc/httpd/conf.d/
COPY ./dispatcher.any /etc/httpd/conf.d/
All configuration files in /etc/httpd/conf.d/ will be automatically
included. Rewrites and other apache configuration can be added this way.
The dispatcher.conf file is located in /etc/httpd/conf.d/. See the
official documentation for all options.
The dispatcher.any is located in /etc/httpd/conf.d/. See the
official documentation for all options.
The cache directory is set to /var/www/html.
Content type
Image
Digest
Size
155.3 MB
Last updated
about 7 years ago
docker pull aemcloud/dispatcher