-
Notifications
You must be signed in to change notification settings - Fork 199
/
docker-compose.yaml
48 lines (45 loc) · 1.09 KB
/
docker-compose.yaml
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
version: '2'
networks:
graph:
external: true
services:
# ----------------------------------------
# DataStax Enterprise
# ----------------------------------------
dse:
image: datastax/dse-server:6.8.10
command: [ -g ]
ports:
- "9042:9042"
- "8983:8983"
- "8182:8182"
- "8183:8183"
environment:
- DS_LICENSE=accept
- DC=DC1
- JVM_EXTRA_OPTS=-Xmx1g -Xms1g
- NUM_TOKENS=32
cap_add:
- IPC_LOCK
ulimits:
memlock: -1
networks:
- graph
# Specify the container name explicitly to avoid getting underscores (see note above)
container_name: dse
# ----------------------------------------
# DataStax Studio
# ----------------------------------------
studio:
image: datastax/dse-studio:6.8.9
ports:
- "9091:9091"
depends_on:
- dse
environment:
DS_LICENSE: accept
# for windows users - start studio image without volumes (remove the below 2 lines)
volumes:
- "./datastax-studio-config:/var/lib/datastax-studio"
networks:
- graph