-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (51 loc) · 1016 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
49
50
51
version: '2'
services:
web:
restart: always
build: .
container_name: quill
ports:
- "3000:3000"
- "5858:5858"
- "8080:8080"
- "35729:35729"
environment:
- NODE_ENV=dev
- DATABASE=db
- PORT=3000
- JWT_SECRET=shhhh super secret code here bro
- ROOT_URL=http://localhost:3000
- ADMIN_EMAIL=
- ADMIN_PASS=
- EMAIL_CONTACT=
- EMAIL_HOST=
- EMAIL_USER=
- EMAIL_PASS=
- EMAIL_PORT=
- EMAIL_HEADER_IMAGE=/assets/images/header.png
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