-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (54 loc) · 1.63 KB
/
docker-compose.yaml
File metadata and controls
59 lines (54 loc) · 1.63 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
55
56
57
58
59
version: '3.4'
services:
# Mysql Database
ids4adb:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- "33066:3306"
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd1234
MYSQL_DATABASE: ids4admin
# IdentityServer4 Admin API
ids4.admin.api:
image: ${REGISTRY:-zengande}/ids4a.api:${TAG:-latest}
build:
context: .
dockerfile: src/IdentityServer4.Admin.API/Dockerfile
depends_on:
- ids4adb
ports:
# - "5003:443"
- "5004:80"
environment:
ASPNETCORE_ENVIRONMENT: Development
CUSTOMCONNSTR_SSOConnection: "server=ids4adb,port=3306;database=ids4admin;user=root;password=P@ssw0rd1234"
AuthorityUrl: http://${EXTERNAL_DNS_NAME_OR_IP:-localhost}:5006
# IdentityServer4 SSO
ids4.admin.sso:
image: ${REGISTRY:-zengande}/ids4a.sso:${TAG:-latest}
build:
context: .
dockerfile: src/IdentityServer4.SSO/Dockerfile
depends_on:
- ids4adb
ports:
# - "5005:443"
- "5006:80"
environment:
ASPNETCORE_ENVIRONMENT: Development
CUSTOMCONNSTR_SSOConnection: "server=ids4adb,port=3306;database=ids4admin;user=root;password=P@ssw0rd1234"
IDS4AdminUIEndpoint: http://${EXTERNAL_DNS_NAME_OR_IP:-localhost}:8000
IDS4AdminAPIEndpoint: http://${EXTERNAL_DNS_NAME_OR_IP:-localhost}:5004
# IdentityServer4 AdminUI
ids4.admin.ui:
image: ${REGISTRY:-zengande}/ids4a.ui:${TAG:-latest}
build:
context: .
dockerfile: src/IDS4.AdminUI/docker/Dockerfile
depends_on:
- ids4.admin.api
- ids4.admin.sso
ports:
- "8000:80"