forked from microsoft/github-copilot-vibe-coding-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
33 lines (31 loc) · 746 Bytes
/
Copy pathcompose.yaml
File metadata and controls
33 lines (31 loc) · 746 Bytes
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
services:
contoso-backend:
build:
context: .
dockerfile: Dockerfile.java
container_name: contoso-backend
ports:
- "8080:8080"
environment:
- CODESPACE_NAME=${CODESPACE_NAME}
- GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN=${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}
volumes:
- ./java/socialapp/sns_api.db:/app/sns_api.db
networks:
- contoso
contoso-frontend:
build:
context: .
dockerfile: Dockerfile.dotnet
container_name: contoso-frontend
ports:
- "3030:8080"
depends_on:
- contoso-backend
environment:
- ApiSettings__BaseUrl=http://contoso-backend:8080/api/
networks:
- contoso
networks:
contoso:
name: contoso