-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
78 lines (75 loc) · 1.81 KB
/
docker-compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3.3'
networks:
www-external:
internal: false
www-internal:
internal: true
services:
elasticsearch:
image: triberay/elasticsearch-4-liferay
networks:
- "www-external"
- "www-internal"
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx2048m -Xms2048m"
ulimits:
memlock:
soft: -1
hard: -1
httpd:
image: triberay/httpd-4-liferay
networks:
- "www-external"
- "www-internal"
ports:
- "80:80"
- "443:443"
mockmock:
image: triberay/mockmock-4-liferay
networks:
- "www-external"
- "www-internal"
expose:
- "25"
ports:
- "8282:8282"
liferay:
build: .
image: triberay/liferay-portal
container_name: liferay-portal
depends_on:
- "postgres"
networks:
- "www-external"
- "www-internal"
ports:
- "8000:8000"
- "11311:11311"
- "12345:12345"
environment:
- LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_DRIVER_UPPERCASEC_lass_UPPERCASEN_ame=org.postgresql.Driver
- LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_URL=jdbc:postgresql://postgres:5432/lportal
- LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_USERNAME=liferay
- LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_PASSWORD=passw0rd
volumes:
- "./build-resources/config:/docker-init.d/config"
- "./build-resources/script:/docker-init.d/script"
- "./resources/deploy:/opt/liferay/deploy"
- "./resources/osgi/modules:/opt/liferay/osgi/modules"
- "./resources/osgi/war:/opt/liferay/osgi/war"
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=passw0rd
- POSTGRES_USER=liferay
- POSTGRES_DB=lportal
networks:
- "www-external"
- "www-internal"
ports:
- "5433:5432"
volumes:
liferay: