-
Notifications
You must be signed in to change notification settings - Fork 10
/
compose.yml
39 lines (36 loc) · 1.13 KB
/
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
services:
nginx:
image: nginx:latest
restart: unless-stopped
ports:
- 80:80
- 443:443
environment:
- OMEJDN_DOMAIN=${OMEJDN_DOMAIN}
- OMEJDN_PATH=${OMEJDN_PATH}
- UI_PATH=${UI_PATH}
volumes:
- ./nginx.${OMEJDN_ENVIRONMENT}.conf:/etc/nginx/templates/default.conf.template
- ${TLS_CERT}:/etc/nginx/omejdn.cert
- ${TLS_KEY}:/etc/nginx/omejdn.key
omejdn-server:
image: ghcr.io/fraunhofer-aisec/omejdn-server:${OMEJDN_VERSION}
restart: unless-stopped
environment:
- OMEJDN_ISSUER=${OMEJDN_ISSUER}
- OMEJDN_FRONT_URL=${OMEJDN_ISSUER}
- OMEJDN_OPENID=true
- OMEJDN_ENVIRONMENT=${OMEJDN_ENVIRONMENT}
- OMEJDN_ACCEPT_AUDIENCE=idsc:IDS_CONNECTORS_ALL
- OMEJDN_DEFAULT_AUDIENCE=idsc:IDS_CONNECTORS_ALL
- OMEJDN_ADMIN=${ADMIN_USERNAME}:${ADMIN_PASSWORD}
volumes:
- ./config:/opt/config
- ./keys:/opt/keys
omejdn-ui:
image: ghcr.io/fraunhofer-aisec/omejdn-ui:${UI_VERSION}
restart: unless-stopped
environment:
- OIDC_ISSUER=${OMEJDN_ISSUER}
- API_URL=${OMEJDN_ISSUER}/api/v1
- CLIENT_ID=adminUI