-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
37 lines (35 loc) · 1.27 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
version: '3.7'
services:
oidc-provider:
container_name: oidc-provider-dekoratoren
image: 'ghcr.io/navikt/stub-oidc-provider/stub-oidc-provider:latest'
ports:
- '9000:9000'
environment:
PORT: '9000'
CALLBACK_URL: 'http://localhost:50000/callback'
ISSUER: 'https://localhost:9000'
oidc-provider-gui:
container_name: oidc-provider-gui-dekoratoren
image: 'ghcr.io/navikt/pb-oidc-provider-gui/pb-oidc-provider-gui:latest'
ports:
- '50000:50000'
environment:
REDIRECT_URL: 'http://localhost:8088/dekoratoren'
AUTO_REDIRECT_TO_FRONTEND: 'true'
OIDC_PROVIDER_GUI_URL: 'http://localhost:50000/callback'
depends_on:
- oidc-provider
mocks:
container_name: mocks-dekoratoren
image: 'ghcr.io/navikt/pb-nav-mocked/pb-nav-mocked:latest'
ports:
- '8095:8080'
environment:
CORS_ALLOWED_ORIGINS: 'localhost:8088'
CORS_ALLOWED_SCHEMES: 'http'
OIDC_ISSUER: 'https://localhost:9000'
OIDC_ACCEPTED_AUDIENCE: 'stubOidcClient'
OIDC_JWKS_URI: 'http://oidc-provider:9000/certs'
depends_on:
- oidc-provider