-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
39 lines (35 loc) · 947 Bytes
/
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
39
version: '3'
services:
liferay:
image: lodatol/liferay-7-docker
labels:
tier: tomcat
app: liferay
environment:
CATALINA_OPTS: -d64 -server -XX:NewSize=700m -XX:MaxNewSize=700m -Xms3G -Xmx3G -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT
ports:
- 8080:8080
volumes:
- document-library:/srv/http/liferay/data/document_library
depends_on:
- redis
- postgres
redis:
image: redis
labels:
tier: data
app: liferay
postgres:
image: postgres:9.6
labels:
tier: data
app: liferay
environment:
POSTGRES_INITDB_ARGS: --encoding UNICODE --locale C --lc-collate C --lc-ctype C
POSTGRES_USER: liferay
POSTGRES_PASSWORD: liferay
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data:
document-library: