-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (49 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
54 lines (49 loc) · 924 Bytes
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
version: '3'
services:
devkitVue:
container_name: devkitVue
image: pierreb/vue:latest
restart: always
ports:
- 8080:80
volumes:
- devkitVue:/data
networks:
- frontend
depends_on:
- devkitNode
environment:
- 'DEVKIT_VUE_api_host=devkitnode'
devkitNode:
container_name: devkitNode
image: pierreb/node:latest
restart: always
ports:
- 3000:3000
volumes:
- devkitNode:/data
networks:
- frontend
- backend
depends_on:
- mongo
environment:
- 'DEVKIT_NODE_db_uri=mongodb://mongo:27017/DevkitNodeDev'
- 'DEVKIT_NODE_host=0.0.0.0'
mongo:
container_name: mongo
image: mongo:latest
restart: always
volumes:
- mongo:/data
networks:
- backend
networks:
frontend:
driver: bridge
backend:
driver: bridge
volumes:
devkitVue:
devkitNode:
mongo: