forked from EnisMulic/CSharp-API-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 713 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (30 loc) · 713 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
version: '3'
services:
template-sql:
image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
restart: unless-stopped
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=QWElkj132!
- MSSQL_PID=Developer
ports:
- 1433:1433
networks:
- templateappnet
template-api:
restart: unless-stopped
build:
context: .
environment:
- ConnectionStrings:TemplateAPI=Server=template-sql,1433;Database=TemplateApi;User=sa;Password=QWElkj132!;ConnectRetryCount=0
ports:
- 44356:80
networks:
- templateappnet
links:
- template-sql
depends_on:
- template-sql
networks:
templateappnet:
driver: bridge