-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yaml
63 lines (58 loc) · 1.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
# NodeJS Backend
backend:
build: .
volumes:
- .:/usr/src/app
depends_on:
- dse
env_file: ./killrvideo.env
environment:
NODE_ENV: development
# Datastax Enterprise
dse:
image: datastax/dse-server:6.7.0
command: [ -s -g ]
ports:
- "9042:9042"
- "8983:8983"
- "8182:8182"
env_file: ./killrvideo.env
environment:
DS_LICENSE: accept
# Allow DSE to lock memory with mlock
cap_add:
- IPC_LOCK
ulimits:
memlock: -1
# Frontend
web:
image: killrvideo/killrvideo-web:3.0.1
env_file: ./killrvideo.env
ports:
- "3000:3000"
depends_on:
- dse
# DSE Configurator to setup DSE
dse-config:
image: killrvideo/killrvideo-dse-config:3.0.0
env_file: ./killrvideo.env
depends_on:
- dse
# Sample Data Generator
generator:
image: killrvideo/killrvideo-generator:3.0.2
env_file: ./killrvideo.env
depends_on:
- dse
- backend
# DataStax Studio
studio:
image: datastax/dse-studio:6.7.0
ports:
- "9091:9091"
depends_on:
- dse
environment:
DS_LICENSE: accept