liferay-docker

Automate Liferay DXP container lifecycle with Gradle tasks in Docker.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/JoaoPedroAmaral/backBarbearia --skill liferay-docker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liferay-docker
Source: https://github.com/JoaoPedroAmaral/backBarbearia/tree/main/.claude/skills/liferay-docker
Command: npx skills add https://github.com/JoaoPedroAmaral/backBarbearia --skill liferay-docker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Liferay DXP deployments often suffer from inconsistent environments and manual setup complexity. This guide provides a repeatable, Docker-based workflow to streamline development and deployment environments for Liferay DXP.

Core Features & Use Cases

  • Workspace-driven container lifecycle: create, start, stop, remove containers and build custom Docker images using Gradle tasks.
  • Standalone Docker Run guidance: quick commands to run Liferay DXP in Docker with commonly used backends and environments, plus tips for port mappings and volume usage.
  • Environment and configuration tailoring: guidance for configuring database backends (MySQL/PostgreSQL), search (Elasticsearch), and portal-ext properties to mimic production-like setups.

Quick Start

Install and run the docker-based Liferay setup by following the guided workspace commands to create and start containers, customize environment settings, and deploy modules.

Frequently Asked Questions about liferay-docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Liferay DXP in Docker for development?

Set up Liferay DXP in Docker by using Gradle tasks like createDockerContainer and startDockerContainer to automate the workspace-driven container lifecycle. You can build custom images and manage deployment environments consistently without manual configuration.

Can I run Liferay DXP in a standalone Docker container?

Yes, you can run Liferay DXP in a standalone Docker container using quick Docker Run commands. The setup provides guidance on commonly used backends, port mappings, and volume usage to get your environment running quickly.

Does this Docker setup support configuring external databases and Elasticsearch for Liferay?

Yes, the Docker setup supports environment customization for database backends like MySQL and PostgreSQL, plus Elasticsearch for search. It provides configuration guidance via portal-ext properties to mimic production-like setups.

What Gradle tasks are available for managing the Liferay Docker container lifecycle?

Available Gradle tasks include createDockerContainer, startDockerContainer, buildDockerImage, and related commands to create, start, stop, and remove containers. These automate the workspace-driven container lifecycle for Liferay DXP.

Why use Docker to deploy Liferay DXP instead of a manual installation?

Docker for Liferay DXP solves inconsistent environments and manual setup complexity by providing a repeatable, containerized workflow. This streamlines both development and deployment through standardized Gradle task automation and environment tailoring.