Added template for Liferay Portal CE (#119)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Liferay Portal Community Edition 7.0
|
||||
|
||||
Installs Liferay Portal, an open source enterprise portal. Uses MySQL as database.
|
||||
|
||||
### Requirements
|
||||
|
||||
Make sure the Liferay container is started on a host with at least 4 GB RAM.
|
||||
|
||||
### 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. Afterwards you may have to restart the Liferay container.
|
||||
|
||||
### 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
|
||||
```
|
||||
@@ -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:7.0.0-2
|
||||
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
|
||||
@@ -0,0 +1,56 @@
|
||||
.catalog:
|
||||
name: "Liferay"
|
||||
version: "7.0.0-2"
|
||||
description: "Liferay Portal Community Edition"
|
||||
uuid: liferay-7.0.0-2
|
||||
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
|
||||
Reference in New Issue
Block a user