-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 1.06 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
version: '3.8'
services:
user-service:
image: ${DOCKER_REGISTRY-}usersmicroservice:v1
build:
context: .
dockerfile: UserMicroservices/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- CONNECTIONSTRINGS__DEFAULTCONNECTION=Server=tcp:amalprasad.database.windows.net,1433;Initial Catalog=hudiyo_dev;Persist Security Info=False;User ID=amalprasad354;Password=amalkp@141;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=60;
ports:
- "4202:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
chat-service:
image: ${DOCKER_REGISTRY-}chatsmicroservice:v1
build:
context: .
dockerfile: ChatService/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "4203:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
networks:
default:
name: hudyio-network