About this repo
This repository contains some nonofficial pet-projects on how to use Liferay with Docker.
Available Liferay Releases
- Liferay 7.0.3 GA4
- Liferay 7.0.2 GA3
- Liferay 7.0.1 GA2
- Liferay 7.0.0 GA1
- Liferay 7.0.0 Beta8
- Liferay 7.0.0 Beta7
- Liferay 6.2.0 GA6
Customized Environment support
There are some different image configurations supported under this repository, depending on if you want to use Liferay Portal with a different database or application server.
If you are using any of the CE supported databases (MySQL or PostgreSQL), please use the right Git branches on this repository to check out the docker-compose files for each database, which will provide an additional Docker container with the supported database, linked to the container running Liferay Portal. Besides, this
README.md file will change and describe the usage for each branch.
These are the supported Database Management System (DBMS):
Supported Application Servers
These are the supported App servers:
Branch name convention
The convention for branch names, using
- as separator, is:
- Liferay major version:
- Liferay community edition:
- Liferay release:
- Application server:
So, if you are using Liferay 7 GA4 with MySQL or PostgreSQL, you should use the
7-ce-ga4-tomcat-postgres branches, respectively.
The git branches are named using the same convention, i.e.:
These docker images are free software ("Licensed Software"); you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
These docker images are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; including but not limited to, the implied warranty of MERCHANTABILITY, NONINFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
You're welcome bardiavipin :)
liferay-portal:7-ce-ga3-tomcat-mysql tag can be used within a docker-compose file, the same way I explain here: https://github.com/mdelapenya/docker-liferay-portal/tree/7-ce-ga1-tomcat-mysql.
I'd add more information here in the documentation.
Thanks for for feedback!
Thanks for response,
I was using tag:liferay-portal:7-ce-ga3-tomcat-mysql to use mysql with liferay assuming it already include mysql in it.
Hi bardiavipin, the image is a simple Liferay image with an embedded HSQL database. To connect to MySQL, please take a look into the github repo, the MySQL branches: https://github.com/mdelapenya/docker-liferay-portal/tree/7-ce-ga3-tomcat-mysql.
By the way, I've just released an out-of-the-box image including MySQL in the same container, for testing purpose: https://hub.docker.com/r/mdelapenya/liferay-portal-mysql
How to connect to mysql?
I am not able to find mysql installation and connection details.
Thanks in advance!