shlogg · Early preview
Ajeet Singh Raina @ajeetsraina

Deploying Liferay Portal With Docker And Docker Compose

Deploy Liferay Portal with Docker using a Compose file, enabling development & demo purposes only, not production.

Liferay Portal is an open-source portal framework for building web applications, websites, and portals. It also offers an integrated CMS and may serve as an enterprise integration platform.

  
  
  Prerequisite


Download and install Docker Desktop on your machine

  
  
  Writing a Compose file

Copy the following content and save it as docker-compose.yml file.


services:
  liferay:
    image: ibaiborodine/liferay-portal-ce
    environment:
      LIFERAY_SETUP_PERIOD_WIZARD_PERIOD_ENABLED: "false"
      LIFERAY_TERMS_PERIOD_OF_PERIOD_USE_PERIOD_REQUIRED: "false"
      LIFERAY_USERS_PERIOD_R...