-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose-test.yml
More file actions
129 lines (129 loc) · 2.75 KB
/
docker-compose-test.yml
File metadata and controls
129 lines (129 loc) · 2.75 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: '3'
services:
elasticsearch-cass:
image: docker.elastic.co/elasticsearch/elasticsearch:9.3.1
container_name: elasticsearch-cass
networks:
- testnet
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=false
- xpack.security.enrollment.enabled=false
- xpack.security.http.ssl.enabled=false
- xpack.security.transport.ssl.enabled=false
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
ports:
- 9200:9200
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
cass:
build:
context: .
network: host
args:
- TEST=true
dockerfile: docker/standalone/node/Dockerfile
platform: linux/amd64
container_name: cass
networks:
- testnet
ports:
- 84:80
environment:
- CASS_LOOPBACK=http://cass/api/
- ELASTICSEARCH_ENDPOINT=http://elasticsearch-cass:9200
- PORT=80
ulimits:
memlock:
soft: -1
hard: -1
user: "1000"
volumes:
- etc:/app/etc
depends_on:
- elasticsearch-cass
cass-alpine:
build:
context: .
network: host
args:
- TEST=true
dockerfile: docker/standalone/node/DockerfileAlpine
platform: linux/amd64
container_name: cass-alpine
networks:
- testnet
ports:
- 81:80
environment:
- CASS_LOOPBACK=http://cass-alpine/api/
- ELASTICSEARCH_ENDPOINT=http://elasticsearch-cass:9200
- PORT=80
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- etc:/app/etc
depends_on:
- elasticsearch-cass
cass-distroless:
build:
context: .
network: host
args:
- TEST=true
dockerfile: docker/standalone/node/DockerfileDistroless
container_name: cass-distroless
networks:
- testnet
ports:
- 82:80
environment:
- CASS_LOOPBACK=http://cass-distroless/api/
- ELASTICSEARCH_ENDPOINT=http://elasticsearch-cass:9200
- PORT=80
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- etc:/app/etc
depends_on:
- elasticsearch-cass
cass-standalone:
build:
context: .
args:
- TEST=true
dockerfile: docker/standalone/Dockerfile
platform: linux/amd64
container_name: cass-standalone
networks:
- testnet
ports:
- 83:80
environment:
- CASS_LOOPBACK=http://cass-standalone/api/
- PORT=80
ulimits:
memlock:
soft: -1
hard: -1
user: "1000"
volumes:
- etc:/app/etc
depends_on:
- elasticsearch-cass
volumes:
etc:
driver: local
esdata1:
driver: local
networks:
testnet: