-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 1.11 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
version: '2'
services:
webpack:
build:
context: .
dockerfile: tools/webpack.dockerfile
ports:
- "8080:8080"
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules/
environment:
- NODE_ENV=development
feathers:
build:
context: .
dockerfile: tools/feathers.dockerfile
ports:
- "3030:3030"
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules/
depends_on:
- postgres
- redis
environment:
- PORT=3030
- TMPDIR=/tmp
- NODE_ENV=development
redis:
image: redis
ports:
- "6379:6379"
volumes:
- redis:/data
postgres:
image: postgres
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=massive
- POSTGRES_PASSWORD=science
- POSTGRES_DB=massivedb
volumes:
postgres:
redis: