-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 908 Bytes
/
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
version: '2'
services:
k-nginx:
build:
context: ./
dockerfile: NginxDockerfile
depends_on:
- k-node
links:
- k-node:k-node
ports:
- "80:80"
image: k/nginx
container_name: k-nginx
k-node:
build:
context: ./
dockerfile: NodeDockerfile
volumes:
- ./:/src
depends_on:
- k-redis
- k-mongo
links:
- k-redis
- k-mongo
ports:
- "7337:7337"
environment:
- NODE_ENV=development
image: k/node
container_name: k-node
k-redis:
image: redis:alpine
ports:
- "6379"
container_name: k-redis
k-mongo:
image: mongo
ports:
- "27017"
container_name: k-mongo
volumes:
- /Users/r3dsm0k3/keeleri_db:/data/db