-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 943 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (38 loc) · 943 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
version: '3'
services:
app:
build: .
container_name: nestjs-decorators-app
entrypoint: ./.docker/entrypoint.sh
ports:
- 3000:3000
volumes:
- .:/home/node/app
db:
image: mysql:5.7
container_name: nestjs-decorators-db
restart: always
tty: true
ports:
- "33006:3306"
volumes:
- iniciando-nestjs-dbdata:/var/lib/mysql
environment:
- MYSQL_DATABASE=iniciando_nestjs
- MYSQL_ROOT_PASSWORD=root
- MYSQL_USER=root
rabbitmq:
image: 'rabbitmq:3.8-management-alpine'
container_name: nestjs-decorators-rabbitmq
hostname: rabbitmq
ports:
- "15672:15672"
- "5672:5672"
volumes:
- './.docker/rabbitmq_data:/var/lib/rabbitmq/mnesia'
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
volumes:
iniciando-nestjs-dbdata:
external: true