forked from sovrin-foundation/sovrin-devexchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (58 loc) · 1.38 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
version: '2'
services:
web:
restart: always
build: .
container_name: meanjs
ports:
- "3030:3000"
- "5858:5858"
- "35729:35729"
environment:
- NODE_ENV=development
- DB_DEVEX_PORT_27017_TCP_ADDR=db
- GITHUB_ID=3d819dee8be7237af9ee
- GITHUB_SECRET=e3f26152b2d04e7877e1a57a07ea1d6bab63da18
- NOTIFY_BC_HOST=notify-bc_devex
- NOTIFY_BC_PORT=3000
depends_on:
- db
volumes_from:
- web-data
web-data:
build: .
entrypoint: /bin/true
volumes:
- ./:/opt/mean.js
- /opt/mean.js/node_modules
- /opt/mean.js/public
- /opt/mean.js/uploads
db:
image: mongo:3.2
restart: always
ports:
- "27017:27017"
volumes_from:
- db-data
db-data:
image: mongo:3.2
volumes:
- /data/db
- /var/lib/mongodb
- /var/log/mongodb
entrypoint: /bin/true
notify-bc:
image: notify-bc
container_name: notify-bc_devex
ports:
- "8888:3000"
volumes:
- ./config/notifyBC/datasources.development.js:/usr/src/app/server/datasources.development.js
- ./config/notifyBC/config.development.js:/usr/src/app/server/config.development.js
environment:
- DEVEX_HOST=meanjs
- DATABASE_SERVICE_NAME=db
- NODE_ENV=development
- MAILER_SERVICE_PROVIDER=gmail
- MAILER_EMAIL_ID=<email>
- MAILER_PASSWORD=<password>