-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose-chat.yml
62 lines (61 loc) · 1.36 KB
/
docker-compose-chat.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '2'
services:
web:
image: nginx:1.21-alpine
expose:
- "80"
ports:
- "80:80"
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf:ro
links:
- exo
exo:
image: exoplatform/exo-community
environment:
EXO_PROXY_VHOST: localhost
EXO_PROXY_PORT: 80
EXO_DB_HOST: mysql
EXO_PROXY_SSL: "false"
EXO_DB_TYPE: mysql
EXO_DB_NAME: exo
EXO_DB_USER: exo
EXO_DB_PASSWORD: my-secret-pw
EXO_MONGO_HOST: mongo
EXO_ADDONS_LIST: exo-chat:$${CHAT_VERSION}
EXO_JVM_LOG_GC_ENABLED: "true"
EXO_ES_HOST: es
volumes:
- exo_data:/srv/exo
- exo_logs:/var/log/exo
depends_on:
- mysql
- mongo
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: my-super-secret-pw
MYSQL_DATABASE: exo
MYSQL_USER: exo
MYSQL_PASSWORD: my-secret-pw
volumes:
- mysql_data:/var/lib/mysql
mongo:
image: mongo:4.4
volumes:
- mongo_data:/data/db:rw
es:
image: exoplatform/elasticsearch:2.0.3
volumes:
- search_data:/usr/share/elasticsearch/data:rw
environment:
- ES_JAVA_OPTS=-Xms512m -Xmx2048m
- node.name=exo
- cluster.name=exo
- cluster.initial_master_nodes=exo
- network.host=_site_
volumes:
exo_data:
exo_logs:
mysql_data:
mongo_data: