-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.33 KB
/
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
45
46
47
48
49
50
version: '3.8'
services:
api:
container_name: customer-registration-api-container-debug
build:
context: .
dockerfile: CustomerRegistration.API/Dockerfile
args:
- configuration=Debug
ports:
- "32768:32768"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
#ASPNETCORE_ENVIRONMENT: "Production"
ASPNETCORE_URLS: "http://+:32768"
depends_on:
- customer-registration-sql-server
- rabbitmq
networks:
- my-network
volumes:
- ~/.vsdbg:/remote_debugger # Para o depurador (Permite gravação)
customer-registration-sql-server:
image: mcr.microsoft.com/azure-sql-edge:latest
container_name: customer-registration-sql-server-container
environment:
SA_PASSWORD: Docker1206
ACCEPT_EULA: Y
ports:
- "1433:1433"
networks:
- my-network
rabbitmq:
image: rabbitmq:3-management
container_name: customer-registration-rabbitmq-container
ports:
- "5672:5672" # Porta padrão do RabbitMQ
- "15672:15672" # Porta do painel de gerenciamento do RabbitMQ
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
networks:
- my-network
networks:
my-network:
external: true # Para poder compartilhar o rabbitmq