-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
56 lines (51 loc) · 1.24 KB
/
docker-compose.override.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
51
52
53
54
55
# Please refer https://aka.ms/HTTPSinContainer on how to setup an https developer certificate for your ASP .NET Core service.
version: '3.4'
services:
catalogDb:
container_name: catalogDb
restart: always
volumes:
- ~/mongodb/data:/data/db
ports:
- "27017:27017"
basketDb:
container_name: basketDb
restart: always
ports:
- "6379:6379"
rabbitMq:
container_name: rabbitMq
restart: always
ports:
- "5672:5672"
- "15672:15672"
catalogapi:
image: catalogapi
build:
context: .
dockerfile: src/Catalog/Catalog.API/Dockerfile
ports:
- "8000:80"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "CatalogDatabaseSettings:ConnectionString=mongodb://catalogDb:27017"
depends_on:
- catalogDb
volumes:
- ~/.vsdbg:/remote_debugger:rw
basketapi:
image: basketapi
build:
context: .
dockerfile: src/Basket/Basket.API/Dockerfile
ports:
- "8001:80"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:Redis=basketDb:6379"
- "EventBus:HostName=rabbitMq"
depends_on:
- basketDb
- rabbitMq
volumes:
- ~/.vsdbg:/remote_debugger:rw