-
Notifications
You must be signed in to change notification settings - Fork 57
/
docker-compose-standalone.yml
113 lines (113 loc) · 2.7 KB
/
docker-compose-standalone.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: '2'
services:
web:
image: nginx:1.12-alpine
expose:
- "80"
volumes:
- ./data/docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "80:80"
links:
- exo
- chatserver
depends_on:
- exo
- mail
- chatserver
networks:
- front
- mail
exo:
image: exoplatform/exo-community:latest
expose:
- "8080"
environment:
EXO_PROXY_VHOST: "localhost"
EXO_PROXY_PORT: "80"
EXO_PROXY_SSL: "false"
EXO_JVM_SIZE_MIN: "2g"
EXO_JVM_SIZE_MAX: "3g"
EXO_MAIL_SMTP_HOST: "mail"
EXO_MAIL_SMTP_PORT: "1025"
EXO_ES_EMBEDDED: "true"
EXO_MONGO_DB_NAME: "exo-chat"
EXO_ADDONS_CATALOG_URL: "file:///etc/exo/catalog.json"
EXO_ADDONS_LIST: "exo-chat-client:1.6.x-SNAPSHOT"
EXO_ADDONS_REMOVE_LIST:
ports:
# (Linux) open JMX ports for local connection only
#- "127.0.0.1:10001:10001"
#- "127.0.0.1:10002:10002"
# (macOS / Windows) open JMX ports on the host
- "10001:10001"
- "10002:10002"
- "9200:9200"
volumes:
- exo_data:/srv/exo
- search_data:/srv/es
- exo_logs:/var/log/exo
### catalog
- ./catalog.json:/etc/exo/catalog.json
- ./packaging/standalone-client-packaging/target/exo-chat-standalone-client-1.6.x-SNAPSHOT.zip:/srv/exo-chat-standalone-client.zip:ro
### chat client configuration
- ./data/docker/plf/chat.properties:/opt/exo/gatein/conf/chat.properties:ro
links:
- chatserver
depends_on:
- mail
- chatserver
networks:
- front
- back
- mail
chatserver:
image: exoplatform/base-jdk:jdk8
volumes:
- ./packaging/standalone-server-tomcat-distrib/target/chat-standalone-server-tomcat-distrib-1.6.x-SNAPSHOT/chat-server-standalone-1.6.x-SNAPSHOT:/opt/chat-server
- ./data/docker/chatserver/chat.properties:/opt/chat-server/conf/chat.properties
command: ["/opt/chat-server/start_chatServer.sh"]
environment:
EXO_DEBUG: "true"
links:
- mongo
ports:
- "8090:8090"
- "8000:8000"
depends_on:
- mongo
networks:
- front
- back
- mail
mongo:
image: mongo:3.2
volumes:
- mongo_data:/data/db:rw
networks:
- back
ports:
- "27017:27017"
mail:
image: mailhog/mailhog
environment:
MH_SMTP_BIND_ADDR: 0.0.0.0:1025
MH_STORAGE: mongodb
MH_MONGO_URI: mongo:27017
MH_MONGO_DB: mailhog
MH_MONGO_COLLECTION: messages
MH_UI_WEB_PATH: mail
networks:
- back
- mail
depends_on:
- mongo
volumes:
exo_data:
exo_logs:
mongo_data:
search_data:
networks:
front:
back:
mail: