Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (52 loc) · 2.83 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (52 loc) · 2.83 KB
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
version: '2.2'
services:
identity-admin:
image: devremoto/identity-admin
container_name: devremoto-identity-admin
ports:
- ${STS_ADMIN_PORT}:${STS_ADMIN_PORT}
- ${STS_ADMIN_HTTPS_PORT}:${STS_ADMIN_HTTPS_PORT}
environment:
- ASPNETCORE_HTTPS_PORT=${STS_ADMIN_HTTPS_PORT}
- ASPNETCORE_URLS=https://+:${STS_ADMIN_HTTPS_PORT};http://+:${STS_ADMIN_PORT}
- Kestrel__Certificates__Default__Path=cert-aspnetcore.pfx
- Kestrel__Certificates__Default__Password=ufo
- AdminConfiguration:RequireHttpsMetadata=${USE_SSL}
- AdminConfiguration:IdentityServerBaseUrl=${STS_SERVER}
- AdminConfiguration:IdentityAdminBaseUrl=${STS_ADMIN_SERVER}
- AdminConfiguration:IdentityAdminRedirectUri=${STS_ADMIN_SERVER}/signin-oidc
- AdminConfiguration:AllowedCorsOrigins:0=${STS_SERVER}
- AdminConfiguration:AllowedCorsOrigins:1=${STS_ADMIN_SERVER}
- AdminConfiguration:AllowedCorsOrigins:2=https://localhost:${STS_HTTPS_PORT}
- AdminConfiguration:AllowedCorsOrigins:3=https://localhost:${STS_ADMIN_HTTPS_PORT}
- AdminConfiguration:AllowedCorsOrigins:4=http://localhost:${STS_PORT}
- AdminConfiguration:AllowedCorsOrigins:5=http://localhost:${STS_ADMIN_PORT}
- AdminConfiguration:RedirectUris:0=${STS_SERVER}
- AdminConfiguration:RedirectUris:1=${STS_ADMIN_SERVER}
- AdminConfiguration:RedirectUris:2=https://${HOST_IP}:${STS_ADMIN_HTTPS_PORT}
- AdminConfiguration:RedirectUris:3=http://${HOST_IP}:${STS_ADMIN_PORT}
- AdminConfiguration:RedirectUris:4=https://${HOST_IP}:${STS_HTTPS_PORT}
- AdminConfiguration:RedirectUris:5=http://${HOST_IP}:${STS_PORT}
- AdminConfiguration:RedirectUris:6=https://localhost:${STS_HTTPS_PORT}
- AdminConfiguration:RedirectUris:7=http://localhost:${STS_PORT}
- AdminConfiguration:RedirectUris:8=https://localhost:${STS_ADMIN_HTTPS_PORT}
- AdminConfiguration:RedirectUris:9=http://localhost:${STS_ADMIN_PORT}
- AdminConfiguration:RedirectUris:10=https://${HOST_IP}:${STS_ADMIN_HTTPS_PORT}/signin-oidc
- AdminConfiguration:RedirectUris:11=http://localhost:${STS_ADMIN_PORT}/signin-oidc
volumes:
- ./IdentityServer4.Admin/src/db:/db
identity:
image: devremoto/identity
container_name: devremoto-identity
ports:
- ${STS_PORT}:${STS_PORT}
- ${STS_HTTPS_PORT}:${STS_HTTPS_PORT}
environment:
- ASPNETCORE_HTTPS_PORT=${STS_HTTPS_PORT}
- ASPNETCORE_URLS=https://+:${STS_HTTPS_PORT};http://+:${STS_PORT}
- Kestrel__Certificates__Default__Path=cert-aspnetcore.pfx
- Kestrel__Certificates__Default__Password=ufo
- AdminConfiguration:RequireHttpsMetadata=${USE_SSL}
- AdminConfiguration:IdentityAdminBaseUrl=${STS_ADMIN_SERVER}
volumes:
- ./IdentityServer4.Admin/src/db:/db