forked from bestcodderepos/ESourcing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
84 lines (75 loc) · 2.12 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3.4'
services:
sourcingdb:
container_name: sourcingdb
restart: always
volumes:
- ${WEBAPP_STORAGE_HOME}/site:/data/db
ports:
- "27017:27017"
rabbitmq:
container_name: rabbitmq
restart: always
ports:
- "5672:5672"
- "15672:15672"
sourcingsqldb:
container_name: sourcingsqldb
ports:
- "1433:1433"
environment:
SA_PASSWORD: "Odb12345678"
ACCEPT_EULA: "Y"
esourcing.products:
container_name: esourcingproducts
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ProductDatabaseSettings:ConnectionString=mongodb://sourcingdb:27017"
depends_on:
- sourcingdb
ports:
- "8000:80"
volumes:
- ${HOME}/ASP.NET/Https:/root/.aspnet/https:ro
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
esourcing.sourcing:
container_name: esourcingsourcing
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "SourcingDatabaseSettings:ConnectionString=mongodb://sourcingdb:27017"
- "EventBus:HostName=rabbitmq"
depends_on:
- sourcingdb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https/
ports:
- "8001:80"
esourcing.order:
container_name: esourcingorder
environment:
- ASPNETCORE_ENVIRONMENT=Development
- "ConnectionStrings:OrderConnection=Server=sourcingsqldb;Database=OrderDb;User Id=sa;Password=Odb12345678"
- "EventBus:HostName=rabbitmq"
depends_on:
- sourcingsqldb
- rabbitmq
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https/
ports:
- "8002:80"
esourcing.apigateway:
container_name: esourcingapigateway
environment:
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
- esourcing.products
- esourcing.sourcing
- esourcing.order
ports:
- "5000:80"
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https/