forked from mwaldropdatastax/ds-docker-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (55 loc) · 1.13 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
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '2'
networks:
default:
external:
name: demo
services:
node:
image: "datastax/dse-server"
environment:
- DS_LICENSE=accept
command:
-k
-s
-g
# Allow DSE to lock memory with mlock
cap_add:
- IPC_LOCK
ulimits:
memlock: -1
ports:
- "22:22"
- "4040:4040"
- "7080:7080"
- "7077:7077"
- "7199:7199"
- "8182:8182"
- "8983:8983"
- "9042:9042"
volumes:
- ./data:/var/lib/cassandra/data
- ./conf:/config
- ./logs:/var/lib/cassandra/commit_logs
- ./cache:/var/lib/cassandra/saved_caches
container_name: "dse"
opscenter:
image: "datastax/dse-opscenter"
environment:
- DS_LICENSE=accept
volumes:
- ./conf/opscenter:/config
- ./opscenter:/var/lib/opscenter
- ./opscenter-clusters:/opt/opscenter/conf/clusters
ports:
- "8888:8888"
container_name: "opscenter"
studio:
image: "datastax/dse-studio"
environment:
- DS_LICENSE=accept
volumes:
- ./studio:/var/lib/datastax-studio
- ./conf/studio:/config
ports:
- "9091:9091"
container_name: "studio"