-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 1.02 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
version: '3.8'
networks:
solar-watch:
services:
db-solar-watch-app:
container_name: db-solar-watch-app
image: mcr.microsoft.com/mssql/server:latest
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "MyPassword!"
networks:
- solar-watch
api-solar-watch-app:
container_name: api-solar-watch-app
image: api-solar-watch-app:latest
build:
context: ./server/SolarWatchAPI
dockerfile: Dockerfile
ports:
- "8080:8080"
depends_on:
- db-solar-watch-app
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__MSSQL_CONNECTION=Server=db-solar-watch-app;Database=db_SolarWatch;User Id=sa;Password=MyPassword!;Encrypt=false;
networks:
- solar-watch
client-solar-watch-app:
container_name: client-solar-watch-app
image: client-solar-watch-app:latest
build:
context: ./client
dockerfile: Dockerfile
ports:
- "80:80"
networks:
- solar-watch