-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
docker-compose.yml
105 lines (105 loc) · 3.56 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
version: "3.9"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx
ports:
- '443:443'
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./compose/certificates:/etc/nginx/certs:ro
- ./compose/proxy.conf:/etc/nginx/conf.d/customproxy.conf:ro
networks:
proxy_net:
aliases:
- idserver.localhost.com
- scim.localhost.com
- website.localhost.com
- credentialissuer.localhost.com
- credentialissuerwebsite.localhost.com
db:
image: mcr.microsoft.com/mssql/server:2022-latest
volumes:
- mssqldata:/var/opt/mssql
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD : "D54DE7hHpkG9"
networks:
proxy_net: null
scim:
image: simpleidserver/scim:5.0.2
environment:
VIRTUAL_HOST: "scim.localhost.com"
ASPNETCORE_URLS : "http://*:80"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
StorageConfiguration__Type: "SQLSERVER"
StorageConfiguration__ConnectionString: "Data Source=db;Initial Catalog=Scim;TrustServerCertificate=True;User=sa;Password=D54DE7hHpkG9;"
depends_on:
- db
networks:
proxy_net: null
idserver:
image: simpleidserver/idserver:5.0.2
environment:
VIRTUAL_HOST: "idserver.localhost.com"
ASPNETCORE_URLS : "http://*:80"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
DistributedCacheConfiguration__Type: "SQLSERVER"
StorageConfiguration__Type: "SQLSERVER"
DistributedCacheConfiguration__ConnectionString: "Data Source=db;Initial Catalog=IdServer;TrustServerCertificate=True;User=sa;Password=D54DE7hHpkG9;"
StorageConfiguration__ConnectionString: "Data Source=db;Initial Catalog=IdServer;TrustServerCertificate=True;User=sa;Password=D54DE7hHpkG9;"
SCIMBaseUrl: "https://scim.localhost.com"
Authority: "https://idserver.localhost.com"
SCIM__SCIMRepresentationsExtractionJobOptions__SCIMEdp: "https://scim.localhost.com"
depends_on:
- db
- scim
networks:
proxy_net: null
website:
image: simpleidserver/website:5.0.2
environment:
VIRTUAL_HOST: "website.localhost.com"
ASPNETCORE_URLS : "http://*:80"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
DefaultSecurityOptions__Issuer: "https://idserver.localhost.com"
DefaultSecurityOptions__IgnoreCertificateError: "true"
IdServerBaseUrl: "https://idserver.localhost.com"
ScimBaseUrl: "https://scim.localhost.com"
depends_on:
- idserver
- scim
networks:
proxy_net: null
credentialissuer:
image: simpleidserver/credentialissuer:5.0.2
environment:
VIRTUAL_HOST: "credentialissuer.localhost.com"
ASPNETCORE_URLS : "http://*:80"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
Authorization__Issuer: "https://idserver.localhost.com/master"
Authorization__IgnoreCertificateError: "true"
depends_on:
- idserver
networks:
proxy_net: null
credentialissuerwebsite:
image: simpleidserver/credentialissuerwebsite:5.0.2
environment:
VIRTUAL_HOST: "credentialissuerwebsite.localhost.com"
ASPNETCORE_URLS : "http://*:80"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
CredentialIssuerUrl: "https://credentialissuer.localhost.com"
DefaultSecurityOptions__Issuer: "https://idserver.localhost.com/master"
DefaultSecurityOptions__IgnoreCertificateError: "true"
depends_on:
- idserver
- credentialissuer
networks:
proxy_net: null
networks:
proxy_net:
driver: bridge
volumes:
mssqldata: