-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (36 loc) · 793 Bytes
/
docker-compose.yaml
File metadata and controls
38 lines (36 loc) · 793 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
version: '3.7'
services:
nestjs-rabbitmq:
build:
context: .
dockerfile: Dockerfile
volumes:
- '.:/home/node/app'
entrypoint: ./.docker/entrypoint.sh
environment:
- NODE_ENV=development
- TZ=America/Sao_Paulo
ports:
- '3001:3001'
- '8229:9229'
networks:
- nestjs-rabbitmq
rabbitmq:
build:
context: ./.docker/rabbitmq
dockerfile: Dockerfile
volumes:
- ./rabbitmq:/var/lib/rabbitmq
environment:
- RABBITMQ_ERLANG_COOKIE='ms_cluster_rabbitmq'
- TZ=America/Sao_Paulo
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
ports:
- '5672:5672'
- '15672:15672'
networks:
- nestjs-rabbitmq
networks:
nestjs-rabbitmq:
driver: bridge