-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (46 loc) · 1.46 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
51
52
version: '3.4'
services:
ordermicroservice:
image: ${DOCKER_REGISTRY-}ordermicroservice
build:
context: .
dockerfile: OrderMicroservice/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DB_CONNECTION_STRING=Server=192.168.1.29,1432;Database=OrderDB;User Id=sa;Password=Barisaltun508*;Trusted_Connection=False;MultipleActiveResultSets=true
- API_URL=http://host.docker.internal:44389
- API_TOKEN="f32g1f3gh21g3f1h"
ports:
- "5101:80"
depends_on:
- db
paymentmicroservice:
image: ${DOCKER_REGISTRY-}paymentmicroservice
build:
context: .
dockerfile: PaymentMicroservice/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DB_CONNECTION_STRING=Server=192.168.1.29,1432;Database=PaymentDB;User Id=sa;Password=Barisaltun508*;Trusted_Connection=False;MultipleActiveResultSets=true
- API_TOKEN="f32g1f3gh21g3f1h"
ports:
- "44489:80"
depends_on:
- db
cashonledgerapi:
image: ${DOCKER_REGISTRY-}cashonledgerapi
build:
context: .
dockerfile: CashOnLedgerAPI/Dockerfile
environment:
- PAYMENT_URL=http://host.docker.internal:44489
- API_TOKEN="f32g1f3gh21g3f1h"
- ASPNETCORE_URL=http://+44389
ports:
- "44389:80"
db:
image: "mcr.microsoft.com/mssql/server:2019-latest"
environment:
SA_PASSWORD: "Barisaltun508*"
ACCEPT_EULA: "Y"
ports: "1432:1433"