-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 991 Bytes
/
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
services:
app:
build: .
container_name: "mercado_dev-app"
ports:
- "3000:3000"
- "3001:3001"
- "3002:3002"
depends_on:
- rabbitmq
volumes:
- .:/home/node/app
rabbitmq:
image: rabbitmq:3.13.2-management
container_name: "mercado_dev-rabbitmq"
hostname: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
volumes:
- /var/lib/rabbitmq
mysql:
image: mysql:8.0.30-debian
container_name: "mercado_dev-db"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- ./.docker/mysql:/docker-entrypoint-initdb.d
dynamodb:
image: amazon/dynamodb-local
container_name: "mercado_dev-dynamodb"
ports:
- "8000:8000"
command: "-jar DynamoDBLocal.jar -sharedDb -inMemory -port 8000"
volumes:
- ./.docker/dynamodb:/home/dynamodblocal/data