-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
47 lines (46 loc) · 1.33 KB
/
docker-compose.debug.yml
File metadata and controls
47 lines (46 loc) · 1.33 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
services:
f1-api:
build:
context: .
dockerfile: src/F1.Api/Dockerfile.debug
container_name: f1-local
ports:
- "5000:8080" # API Traffic
- "15000:15000" # DEBUGGER ONLY (VS Code attaches here)
volumes:
- .:/app
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER=true
- DOTNET_USE_POLLING_FILE_WATCHER=true
command: [
"dotnet", "watch", "run",
"--non-interactive",
"--project", "src/F1.Api/F1.Api.csproj",
"--configuration", "Debug",
"--urls", "http://0.0.0.0:8080"
]
tty: true
# f1-web:
# build:
# context: .
# dockerfile: src/F1.Web/Dockerfile.web.debug
# container_name: f1-web
# ports:
# - "5001:8080" # UI Traffic
# volumes:
# - .:/app
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER=true
# - DOTNET_USE_POLLING_FILE_WATCHER=true
# # IMPORTANT: If browsing from another PC, use the VM IP instead of localhost
# - API_BASE_URL=http://localhost:5000/
# working_dir: /app/src/F1.Web
# command: [
# "dotnet", "watch", "run",
# "--non-interactive",
# "--configuration", "Debug",
# "--urls", "http://0.0.0.0:8080"
# ]
# tty: true