forked from rkamath1/EventsOnContainer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
73 lines (68 loc) · 1.48 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
version: '3.4'
networks:
frontend:
backend:
services:
catalog:
image: events/catalogapi
build:
context: .\EventCatalogAPI
dockerfile: Dockerfile
environment:
DatabaseServer: mssqlserver
DatabaseName: EventDb
DatabaseUser: sa
DatabasePassword: EventApi(!)
ExtrenalEventBaseUrl: http://localhost:6081
ports:
- "6180:80"
container_name: eventapi
networks:
- backend
- frontend
depends_on:
- mssqlserver
webmvc:
build:
context: .\WebMVC
dockerfile: Dockerfile
image: events/webmvc
container_name: eventfinder
environment:
CatalogUrl: http://catalog
ASPNETCORE_ENVIRONMENT: Development
IdentityUrl: http://192.168.0.38:6170
CallBackUrl: http://localhost:5207
ports:
- "5207:80"
networks:
- frontend
depends_on:
- catalog
- tokenserver
tokenserver:
build:
context: .\TokenServiceApi
dockerfile: Dockerfile
image: events/tokenapi
environment:
ASPNETCORE_ENVIRONMENT: Development
MvcClient: http://localhost:5207
ports:
- "6170:80"
container_name: tokenserviceapi
networks:
- backend
- frontend
depends_on:
- mssqlserver
mssqlserver:
image: "microsoft/mssql-server-linux:latest"
environment:
ACCEPT_EULA: Y
SA_PASSWORD: EventApi(!)
container_name: eventsqlserver
ports:
- "1445:1433"
networks:
- backend