-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 1.39 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
39
40
41
42
43
44
45
46
services:
elasticsearch:
image: elasticsearch:8.17.1
environment:
ES_JAVA_OPTS: "-Xms2g -Xmx2g"
volumes:
- ./build/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- "9200:9200"
- "9300:9300"
elasticsearch7:
image: elasticsearch:7.17.6
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
volumes:
- ./build/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- "9201:9200"
- "9301:9300"
app:
# We always develop and test with the lowest common denominator - in this case, the oldest engine we support with the most restrictive compiler
image: ortussolutions/commandbox:adobe2018
environment:
ELASTICSEARCH_HOST: elasticsearch
ports:
- "8080:8080"
volumes:
# Mount our application in delgated mode
- .:/app:delegated
expose:
- "8080"
app-lucee5:
# lucee5 instance for testing
image: ortussolutions/commandbox:lucee5
environment:
ELASTICSEARCH_HOST: elasticsearch
ports:
- "8081:8080"
volumes:
# Mount our application in delgated mode
- .:/app:delegated
expose:
- "8081"