-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
33 lines (33 loc) · 816 Bytes
/
docker-compose.yaml
File metadata and controls
33 lines (33 loc) · 816 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
version: '3'
services:
express-typescript:
build:
context: .
dockerfile: local.Dockerfile
container_name: 'app-express-typescript'
volumes:
- .:/usr/src/app/
working_dir: /usr/src/app
environment:
- REDIS_QUEUE_HOST=redis
- MONGOOSE_URL=mongodb://mongo:27017/typescript_mongoose
- GOOGLE_ID=
- GOOGLE_SECRET=
- TWITTER_KEY=
- TWITTER_SECRET=
command: sh -c "npm install && npm run dev"
ports:
- 4040:4040
- 5550:5550
redis:
image: "redis"
ports:
- "6379:6379"
expose:
- 6379
mongo:
image: "mongo"
ports:
- "27017:27017"
expose:
- 27017