-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 778 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (43 loc) · 778 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
version: "3"
services:
app:
image: node:latest
command: "npm start"
restart: unless-stopped
working_dir: /app
depends_on:
- mail
- db
environment:
- NODE_ENV=production
- NODE_CONFIG_ENV=docker
volumes:
- .:/app:Z
ports:
- "80:80"
mail:
image: node:latest
command: "npm run mail-server"
restart: unless-stopped
working_dir: /app
depends_on:
- db
environment:
- NODE_ENV=production
- NODE_CONFIG_ENV=docker
volumes:
- .:/app:Z
expose:
- 25
ports:
- "25:25"
db:
image: rethinkdb:latest
restart: unless-stopped
volumes:
- ./db:/data:Z
expose:
- 28015
ports:
- "8080:8080"
- "28015:28015"