-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
39 lines (38 loc) · 1.19 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
version: '3.7'
services:
oidc-server-mock:
container_name: oidc-server-mock
image: oidc-server-mock
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_URLS: https://+:443;http://+:80
ASPNETCORE_Kestrel__Certificates__Default__Password: oidc-server-mock-pwd
ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
SERVER_OPTIONS_PATH: /config/server-options.json
LOGIN_OPTIONS_INLINE: |
{
"AllowRememberLogin": false
}
LOGOUT_OPTIONS_INLINE: |
{
"AutomaticRedirectAfterSignOut": true
}
API_RESOURCES_PATH: /config/api-resources.yaml
API_SCOPES_INLINE: |
- Name: some-app-scope-1
UserClaims:
- some-app-scope-1-custom-user-claim
- Name: some-app-scope-2
USERS_CONFIGURATION_PATH: /config/users.yaml
CLIENTS_CONFIGURATION_PATH: /config/clients.json
IDENTITY_RESOURCES_PATH: /config/identity-resources.json
ASPNET_SERVICES_OPTIONS_INLINE: |
{
"BasePath": "/some-base-path"
}
volumes:
- ./config:/config:ro
- ./https:/https:ro
ports:
- 8080:80
- 8443:443