-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
55 lines (49 loc) · 1 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
version: '3'
services:
weareopensourceVue:
container_name: weareopensourceVue
image: weareopensource/vue:latest
restart: always
ports:
- 8080:80
volumes:
- weareopensourceVue:/data
networks:
- frontend
depends_on:
- weareopensourceNode
environment:
- "WAOS_VUE_api_host=waosnode"
weareopensourceNode:
container_name: weareopensourceNode
image: weareopensource/node:latest
restart: always
ports:
- 3000:3000
volumes:
- weareopensourceNode:/data
networks:
- frontend
- backend
depends_on:
- mongo
environment:
- "WAOS_NODE_db_uri=mongodb://mongo:27017/WaosNodeDev"
- "WAOS_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:
weareopensourceVue:
weareopensourceNode:
mongo: