forked from bibbox/app-liferay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.32 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '2'
services:
liferay-application-§§INSTANCE:
image: bibbox/liferay-application
container_name: liferay-application-§§INSTANCE
volumes_from:
- liferay-data-§§INSTANCE
links:
- liferay-db-§§INSTANCE
ports:
- §§PORT:8080
environment:
- POSTGRES_PASSWORD=§§SET_PGSETUP_POSTGRES_PASSWORD
depends_on:
- liferay-data-§§INSTANCE
- liferay-db-§§INSTANCE
liferay-db-§§INSTANCE:
image: postgres:9.5
container_name: liferay-db-§§INSTANCE
environment:
- POSTGRES_PASSWORD=§§SET_PGSETUP_POSTGRES_PASSWORD
- POSTGRES_USER=liferay
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_DB=lportal
volumes_from:
- liferay-data-§§INSTANCE
depends_on:
- liferay-data-§§INSTANCE
liferay-data-§§INSTANCE:
image: bibbox/liferay-data
container_name: liferay-data-§§INSTANCE
volumes:
- §§FOLDER/config/functions:/etc/init.d/functions
- §§FOLDER/config/liferay:/opt/config/liferay
- §§FOLDER/config/portal-ext.properties:/opt/liferay/portal-ext.properties
- §§FOLDER/config/portal-setup-wizard.properties:/opt/config/portal-setup-wizard.properties
- §§FOLDER/liferay/data:/opt/liferay/data
- §§FOLDER/postgresql/data/pgdata:/var/lib/postgresql/data/pgdata