Skip to content

KirtiMistry/liferay

 
 

Repository files navigation

Liferay 6.2.5 GA6 on Tomcat with Mysql or PostgresSQL (two containers)

Image available in docker registry: https://hub.docker.com/r/oazapater/docker-liferay/

Pulling:

docker pull oazapater/liferay-base

Launching using "docker run":

Run mysql:

docker run --name lep-db -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_USER=liferay -e MYSQL_PASSWORD=liferay -e MYSQL_DATABASE=lportal $@ -d mysql:latest

Run postgres: (Configure by default)

docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=root POSTGRES_USER=root POSTGRES_DB=lportal $@ -d postgres

Check that exist lportal, if not create schema (MySQL) or database (PostgreSQL) with name lportal

Run liferay:

docker run --name liferay -it --rm -p 80:8080 --link some-postgres -e JAVA_OPTS='-Xmx1024m -XX:MaxPermSize=512m' oazapater/liferay-base:v1

Use:

Point browser to docker machine ip (port 80)

About

Liferay image docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.1%
  • JavaScript 1.1%
  • FreeMarker 0.5%
  • CSS 0.2%
  • HTML 0.1%
  • GAP 0.0%