-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 848 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (38 loc) · 848 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
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
- redis
redis:
image: redis
container_name: redis
ports:
- 6379:6379
networks:
- templateappnet
networks:
templateappnet:
driver: bridge