Added template for Liferay Portal CE (#119)

This commit is contained in:
Ralf
2016-05-16 06:59:18 +02:00
committed by Bill Maxwell
parent 0e9fb0bc21
commit 3ffc0780e1
8 changed files with 403 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Liferay Portal Community Edition 6.2
Installs Liferay Portal, an open source enterprise portal. Uses MySQL as database.
### First Start
Use the following credentials to log in as the default administrative user:
* user name: **test@liferay.com**
* password: **test**
If you choose to run the Setup Wizard at first start, you can create a different
administrative user.
### Watch the Logs
Open a terminal via `Execute Shell` on the Liferay container, then use `tail`
on the log files in `/opt/liferay/tomcat/logs` and `/opt/liferay/logs`, e.g.
```bash
tail -f /opt/liferay/tomcat/logs/catalina.2016-04-13.log
tail -f /opt/liferay/logs/liferay.2016-04-13.log
```
+34
View File
@@ -0,0 +1,34 @@
liferay:
ports:
- 8080:8080/tcp
environment:
SETUP_WIZARD_ENABLED: ${SETUP_WIZARD_ENABLED}
DB_KIND: mysql
DB_HOST: liferaydb
DB_USERNAME: ${MYSQL_USER}
DB_PASSWORD: ${MYSQL_PASSWORD}
log_driver: ''
labels:
io.rancher.container.pull_image: always
tty: true
log_opt: {}
image: rsippl/liferay:6.2.5-1
links:
- mysql:liferaydb
stdin_open: true
mysql:
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
log_driver: ''
labels:
io.rancher.container.pull_image: always
tty: true
command:
- --character-set-server=utf8
- --collation-server=utf8_general_ci
log_opt: {}
image: mysql:5.6.30
stdin_open: true
+56
View File
@@ -0,0 +1,56 @@
.catalog:
name: "Liferay"
version: "6.2.5-1"
description: "Liferay Portal Community Edition"
uuid: liferay-6.2.5-1
minimum_rancher_version: v1.0.0
questions:
- variable: SETUP_WIZARD_ENABLED
label: "Enable setup wizard"
description: "Enable this option if the Setup Wizard should be displayed the first time the portal is started."
required: true
type: "boolean"
default: false
- variable: MYSQL_DATABASE
description: "Name of the database"
label: "Database name"
type: "string"
required: true
default: "lportal"
- variable: MYSQL_USER
description: "Login name for the database user"
label: "Database login name"
type: "string"
required: true
default: "liferay"
- variable: MYSQL_PASSWORD
description: "Password for the database user"
label: "Database password"
type: "string"
required: true
default: "secret"
- variable: MYSQL_ROOT_PASSWORD
description: "Password for the database root user"
label: "Database root password"
type: "string"
required: true
default: "secret"
liferay:
scale: 1
health_check:
port: 8080
interval: 2000
unhealthy_threshold: 3
request_line: GET / HTTP/1.0
healthy_threshold: 2
response_timeout: 2000
mysql:
scale: 1
health_check:
port: 3306
interval: 2000
unhealthy_threshold: 3
response_timeout: 2000
healthy_threshold: 2