Before starting your container, you may want to add additional portal configurations. This could include things like
- Property overrides (e.g.,
portal-ext.properties
) - Marketplace app overrides
- App server configurations
- License files
You can do this by applying files (and their accompanying folder structures, if
necessary) to your workspace’s configs/docker
folder. This folder is treated
as your Liferay Home for Docker development; you add additional files that
overlay your workspace’s configs/common
folder and your Liferay DXP container’s
default configuration.
As an example, you’ll enable the Gogo shell for your container.
-
Add a
portal-ext.properties
file to your workspace’sconfigs/docker
folder. -
Add the following property to the
portal-ext.properties
file:module.framework.properties.osgi.console=0.0.0.0:11311
This lets you access your container using Gogo shell via telnet session.
-
Start the container.
Once the container is started, the configurations stored in
configs/common
andconfigs/docker
are transferred to thebuild/docker/files
folder, which applies all configurations to the container’s file system. For more information on workspace’sconfigs
folder, see this section.
You can now apply configurations to your Liferay DXP Docker container.