Skip to content

aem image that allow running Author and Publish instances using AEM configs

License

Notifications You must be signed in to change notification settings

aem-design/docker-aem

Repository files navigation

CentOS 7 with AEM

build_status github license github issues github last commit github repo size docker stars docker pulls github release

This is docker image based on CentOS 7 with Tini One image that can be used for both Author and Publish nodes No license is included, you will need to register when starting up

Container Version to Branch Mapping

Following is description of container contents based on branch names

  • 6.5.0 - base aem version without any packages
  • 6.5.0-bundle - base aem version with typical packages
  • 6.5.1.0 - base aem version with Service Pack 1
  • 6.5.1.0-bundle - base aem version with Service Pack 1 and typical packages
  • 6.5.1.0-bundle-forms - base aem version with Service Pack 1, typical packages and forms

Typical Packages

These are typical packages that are included in bundled containers

File Notes
com.adobe.acs.bundles.twitter4j-content-1.0.0.zip acs twitter
acs-aem-commons-content-4.3.2.zip acs commons
core.wcm.components.all-2.6.0.zip adobe corecomponents
accesscontroltool-package-2.3.2.zip netcentric acl tools
accesscontroltool-oakindex-package-2.3.2.zip netcentric acl tools
vanityurls-components-1.0.2.zip vanity url servlet
aemdesign-aem-core-deploy-{LATEST}.zip aem design core
aemdesign-aem-support-deploy-{LATEST}.zip aem design showcase content
brightcove_connector-{LATEST}.zip bright cove package

Packages that have {LATEST} mean that when the container is built it will pull the latest version available in git repository.

Service Pack Packages

This is a typical service pack that is added to container

File Notes
AEM-6.5.1.0-6.5.1.zip sp 1

Forms Packages

This is a typical form and forms service pack that is added to container

File Notes
aem-compat-cq65-to-cq64-0.18.zip aem forms backwards compatibility
com.adobe.acs.bundles.twitter4j-content-1.0.0.zip acs twitter

Environment Variables

Following environment variables are available

Name Default Value Notes
AEM_VERSION "6.5.0" only used during build
AEM_JVM_OPTS "-server -Xms1024m -Xmx1024m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Dorg.apache.felix.http.host=0.0.0.0"
AEM_START_OPTS "start -c /aem/crx-quickstart -i launchpad -p 8080 -a 0.0.0.0 -Dsling.properties=conf/sling.properties"
AEM_JARFILE "/aem/crx-quickstart/app/cq-quickstart-${AEM_VERSION}-standalone-quickstart.jar"
AEM_RUNMODE "-Dsling.run.modes=author,crx3,crx3tar,nosamplecontent"

Volumes

Following volumes are exposed

Path Notes
"/aem/crx-quickstart/repository"
"/aem/crx-quickstart/logs" setup your logs to out put to console
"/aem/backup"

Ports

Following Ports are exposed

Path Notes
8080 main http port
58242 debug
57345 debug
57346 debug

Starting

To start local demo AEM 6.5 instance on port 4502

docker run --name author \
-e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,dev" \
-p4502:8080 -d \
-p30303:58242 -d \
aemdesign/aem

To start local demo AEM 6.4 instance on port 4512

docker run --name author64 \
-e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,dev" \
-p4512:8080 -d \
-p30313:58242 -d \
aemdesign/aem:6.4.0

To start local demo AEM 6.5 instance on port 4565 with Bundled Packages run the following

docker run --name author65bundle \
-e "TZ=Australia/Sydney" \
-e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,dev" \
-e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Dorg.apache.felix.http.host=0.0.0.0 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=58242,suspend=n" \
-p4565:8080 -d \
-p30364:58242 -d \
aemdesign/aem:6.5.0-bundle

To start local demo AEM 6.4 instance on port 4564 with Bundled Packages run the following

docker run --name author64bundle \
-e "TZ=Australia/Sydney" \
-e "AEM_RUNMODE=-Dsling.run.modes=author,crx3,crx3tar,dev" \
-e "AEM_JVM_OPTS=-server -Xms248m -Xmx1524m -XX:MaxDirectMemorySize=256M -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Dorg.apache.felix.http.host=0.0.0.0 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=58242,suspend=n" \
-p4564:8080 -d \
-p30364:58242 -d \
aemdesign/aem:6.4.0-bundle