-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDocker-Compose.yml
138 lines (138 loc) · 2.69 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
version: '2'
services:
redis:
image: redis
ports:
- "6379:6379"
ambassador:
image: cpuguy83/docker-grand-ambassador
volumes:
- "/var/run/docker.sock:/docker.sock"
command: "-name docker_simpleidserver_1"
simpleidserver:
build:
dockerfile: Dockerfile-Authorization-Https
context: .
ports:
- "5443:5443"
links:
- postgresql
- configuration
- "ambassador:simpleidserver"
- elasticsearch
- redis
depends_on:
- "postgresql"
environment:
- DB_ALIAS=postgresql
- DB_PORT=5432
uma:
build:
dockerfile: Dockerfile-Uma-Https
context: .
ports:
- "5445:5445"
links:
- postgresql_uma:postgresql
- "ambassador:simpleidserver"
- elasticsearch
- redis
depends_on:
- "postgresql_uma"
- elasticsearch
environment:
- DB_ALIAS=postgresql
- DB_PORT=5432
- ASPNETCORE_ENVIRONMENT=docker
- DATA_MIGRATED=true
manager:
build:
dockerfile: Dockerfile-Manager
context: .
links:
- postgresql
- "ambassador:simpleidserver"
- elasticsearch
- redis
depends_on:
- "postgresql"
- elasticsearch
environment:
- DB_ALIAS=postgresql
- DB_PORT=5432
configuration:
build:
dockerfile: Dockerfile-Configuration
context: .
links:
- postgresql_configuration:postgresql
- "ambassador:simpleidserver"
- elasticsearch
- redis
depends_on:
- "postgresql_configuration"
- elasticsearch
environment:
- DB_ALIAS=postgresql
- DB_PORT=5432
website:
build:
dockerfile: Dockerfile-WebSite
context: .
ports:
- "4200:4200"
links:
- "ambassador:simpleidserver"
- uma:uma
environment:
- SERVER=simpleidserver
websiteapi:
build:
dockerfile: Dockerfile-WebSiteApi
context: .
ports:
- "5444:5444"
links:
- "ambassador:simpleidserver"
- uma:uma
- manager:manager
- configuration:configuration
- mongo:mongo
depends_on:
- "mongo"
environment:
- INTROSPECTION_CLIENT_ID=Anonymous
- INTROSPECTION_CLIENT_SECRET=Anonymous
- OPENID_CONFIGURATION_URL=https://simpleidserver:5443/.well-known/openid-configuration
postgresql:
image: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
postgresql_uma:
image: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
postgresql_configuration:
image: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
mongo:
image: mongo
elasticsearch:
image: elasticsearch
ports:
- 9200:9200
kibana:
image: kibana
ports:
- 5601:5601
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
links:
- elasticsearch