-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 953 Bytes
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 953 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
db:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=P@ssword123!
ports:
- "1433:1433"
networks:
- project-network
volumes:
- sql_data:/var/opt/mssql
restart: always
project.api:
build:
context: .
dockerfile: Project.API/Dockerfile
ports:
- "8080:8080"
networks:
- project-network
depends_on:
- db
restart: always
environment:
- DB_CONNECTION_STRING=${DB_CONNECTION_STRING}
- STORAGE_KEY=${STORAGE_KEY}
- TOPIC_KEY=${TOPIC_KEY}
- TOPIC_NAME=${TOPIC_NAME}
project.client:
build:
context: .
dockerfile: Project.Client/Dockerfile
ports:
- "80:80"
networks:
- project-network
depends_on:
- project.api
restart: always
networks:
project-network:
driver: bridge
volumes:
sql_data:
driver: local