-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
40 lines (36 loc) · 876 Bytes
/
compose.yaml
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
services:
frontend:
image: courstech:ui
build:
context: ./CoursTech.WebUI/CoursTech
dockerfile: Dockerfile
ports:
- "4200:80"
environment:
- API_URL=http://localhost:4730/api
depends_on:
- backend
backend:
image: courstech:api
build:
context: ./src
dockerfile: ./CoursTech.Presentation/API/Dockerfile
ports:
- "4730:8080"
- "4731:8081"
environment:
- ConnectionStrings__DefaultConnection=server=.;database=CoursTech;trusted_connection=true;TrustServerCertificate=True;
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
- db
db:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
ports:
- "1433:1433"
environment:
- ACCEPT_EULA=Y
- MSSQL_DATABASE=CoursTech
networks:
default:
driver: bridge