-
Notifications
You must be signed in to change notification settings - Fork 111
/
docker-compose.yml
87 lines (75 loc) · 1.72 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3'
services:
webmvc:
image: web
build:
context: ./web
dockerfile: Dockerfile.debug
ports:
- "8080:80"
volumes:
- ./web/bin/pub/:/app
container_name: web
depends_on:
- applicants.api
- identity.api
- jobs.api
applicants.api:
image: applicants.api
environment:
- ConnectionString=Server=sql.data;User=sa;Password=Pass@word;Database=dotnetgigs.applicants;
build:
context: ./services/applicants.api
dockerfile: Dockerfile.debug
ports:
- "8081:80"
volumes:
- ./services/applicants.api/bin/pub/:/app
container_name: applicants.api
depends_on:
- sql.data
- rabbitmq
jobs.api:
image: jobs.api
environment:
- ConnectionString=Server=sql.data;User=sa;Password=Pass@word;Database=dotnetgigs.jobs;
build:
context: ./services/jobs.api
dockerfile: Dockerfile.debug
ports:
- "8083:80"
volumes:
- ./services/jobs.api/bin/pub/:/app
container_name: jobs.api
depends_on:
- sql.data
- rabbitmq
identity.api:
image: identity.api
environment:
- RedisHost=user.data:6379
build:
context: ./services/identity.api
dockerfile: Dockerfile.debug
ports:
- "8084:80"
volumes:
- ./services/identity.api/bin/pub/:/app
container_name: identity.api
depends_on:
- user.data
sql.data:
image: mssql-linux
build:
context: ./Database
dockerfile: Dockerfile
ports:
- "5433:1433"
container_name: mssql-linux
user.data:
image: redis
rabbitmq:
image: rabbitmq:3-management
ports:
- "15672:15672"
container_name: rabbitmq