forked from azizbek1301/Microservices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (50 loc) · 1.11 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
53
54
55
56
57
version: '3.4'
networks:
backend:
services:
sqldata:
volumes:
- ./db:/var/opt/mssql/data
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=Numsey#2022
- ACCEPT_EULA=Y
ports:
- 8181:1433
networks:
- backend
educenter.api:
image: ${DOCKER_REGISTRY-}educenterapi
build:
context: .
dockerfile: EduCenter.Api/Dockerfile
networks:
- backend
apigateway.api:
image: ${DOCKER_REGISTRY-}apigatewayapi
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:5000/health"]
interval: 10s
timeout: 5s
retries: 3
build:
context: .
dockerfile: ApiGateway.Api/Dockerfile
ports:
- 9999:80
networks:
- backend
sport.api:
image: ${DOCKER_REGISTRY-}sportapi
build:
context: .
dockerfile: Sport.Api/Dockerfile
networks:
- backend
authtorisation.api:
image: ${DOCKER_REGISTRY-}authtorisationapi
build:
context: .
dockerfile: Authtorisation.Api/Dockerfile
networks:
- backend