-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.04 KB
/
docker-compose.yml
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
51
52
53
54
55
56
version: '3.3'
services:
api:
container_name: capstone_api
build:
context: ./api
dockerfile: Dockerfile
environment:
- ASPNETCORE_URLS=http://*:5000
- ASPNETCORE_ENVIRONMENT=Production
expose:
- "5000"
volumes:
- uploaded_images:/app/wwwroot/Images/
networks:
capstone-network:
aliases:
- apis
depends_on:
- db
proxy:
container_name: capstone_proxy
build:
context: ./proxy
dockerfile: Dockerfile
ports:
- "80:80"
networks:
- capstone-network
depends_on:
- api
db:
container_name: capstone_db
build:
context: ./db
dockerfile: Dockerfile
environment:
SA_PASSWORD: "team_concept_talwardh10!"
ACCEPT_EULA: "Y"
volumes:
- db_data:/var/opt/mssql/
networks:
capstone-network:
aliases:
- dbs
networks:
capstone-network:
driver: bridge
volumes:
uploaded_images:
db_data: