-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
73 lines (67 loc) · 1.79 KB
/
Copy pathdocker-compose.debug.yml
File metadata and controls
73 lines (67 loc) · 1.79 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
# Debug configuration - mount source code for live reload
# Usage: docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
services:
# .NET services with remote debugging enabled
patient-service:
build:
context: ./src/Services/PatientService/PatientService.API
dockerfile: Dockerfile.debug
ports:
- "5125:80"
- "5225:4024" # Debug port
environment:
- ASPNETCORE_ENVIRONMENT=Development
volumes:
- ./src/Services/PatientService/PatientService.API:/src:ro
networks:
- micro-network
billing-service:
build:
context: ./src/Services/BillingService/BillingService.API
dockerfile: Dockerfile.debug
ports:
- "5156:80"
- "5256:4024" # Debug port
environment:
- ASPNETCORE_ENVIRONMENT=Development
networks:
- micro-network
notification-service:
build:
context: ./src/Services/NotificationService/NotificationService.API
dockerfile: Dockerfile.debug
ports:
- "5160:80"
- "5260:4024" # Debug port
environment:
- ASPNETCORE_ENVIRONMENT=Development
networks:
- micro-network
api-gateway:
build:
context: ./src/ApiGateway
dockerfile: Dockerfile.debug
ports:
- "5100:80"
- "5200:4024" # Debug port
environment:
- ASPNETCORE_ENVIRONMENT=Docker
networks:
- micro-network
# Node.js with inspect mode
appointment-service:
build:
context: ./src/Services/AppointmentService
dockerfile: Dockerfile
command: ["node", "--inspect=0.0.0.0:9229", "src/index.js"]
ports:
- "5126:80"
- "9229:9229" # Debug port
environment:
- NODE_ENV=development
networks:
- micro-network
networks:
micro-network:
external: true
name: micro_healthcare-network