-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 781 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 781 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
version: "3.8"
services:
app:
build:
context: .
target: ${NODE_ENV}
ports:
- "5000:5000"
environment:
- JWT_SECRET=${JWT_SECRET}
- MONGODB_URI=${MONGODB_URI}
- AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
- AWS_SECRET_KEY=${AWS_SECRET_KEY}
- AWS_REGION=${AWS_REGION}
- AWS_BUCKET_NAME=${AWS_BUCKET_NAME}
- RABBITMQ_URL=${RABBITMQ_URL}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
volumes:
- .:/app
- /app/node_modules
depends_on:
- mongo
- rabbitmq
- redis
mongo:
image: mongo
ports:
- "27017:27017"
redis:
image: redis
ports:
- "6379:6379"
rabbitmq:
image: rabbitmq
ports:
- "5672:5672"
- "15672:15672"