Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (73 loc) · 2.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (73 loc) · 2.05 KB
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
version: '3.4'
services:
webshopfront:
container_name: webshopfront
image: ${DOCKER_REGISTRY-}frontend-webshoplayer
depends_on:
- productcomponent
build:
context: ../SoftwareFull.WebshopFrontEnd
dockerfile: ../SoftwareFull.WebshopFrontEnd/Dockerfile
ports:
- '88:80'
admindashboardfrontend:
container_name: admindashboardfront
image: ${DOCKER_REGISTRY-}frontend-admindashboard
depends_on:
- productcomponent
build:
context: ../SoftwareFull.AdminDashboardFrontEnd
dockerfile: ../SoftwareFull.AdminDashboardFrontEnd/Dockerfile
ports:
- '89:80'
userdashboardfrontend:
container_name: userdashboardfront
image: ${DOCKER_REGISTRY-}frontend-userdashboard
depends_on:
- productcomponent
build:
context: ../SoftwareFull.UserDashboardFrontEnd
dockerfile: ../SoftwareFull.UserDashboardFrontEnd/Dockerfile
ports:
- '90:80'
productcomponent:
image: ${DOCKER_REGISTRY-}productcomponent
build:
context: .
dockerfile: CommunicationLayer/Components/ProductComponent/Dockerfile
environment:
ConnectionString: "Data Source=host.docker.internal,1433;Initial Catalog=ProductComponent-6705ec26-21d6-4425-9120-1df6d6cb958a;User ID=sa;Password=Root1234"
ports:
- "8081:80"
- "4434:443"
depends_on:
- sqlserver
sqlserver:
container_name: sql-server-db
image: mcr.microsoft.com/mssql/server:latest
user: root
ports:
- "1433:1433"
environment:
SA_PASSWORD: "Root1234"
ACCEPT_EULA: "Y"
volumes:
- dbdata:/var/opt/mssql/data
webgateway:
image: ${DOCKER_REGISTRY-}webgateway
build:
context: .
dockerfile: CommunicationLayer/Gateways/WebGateway/Dockerfile
ports:
- "8090:80"
- "5021:443"
ordercomponent:
image: ${DOCKER_REGISTRY-}ordercomponent
build:
context: .
dockerfile: CommunicationLayer/Components/OrderComponent/Dockerfile
ports:
- "8082:80"
- "4435:443"
volumes:
dbdata: