-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
89 lines (84 loc) · 3.36 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.7"
services:
oidc-provider:
container_name: oidc-provider-personopplysninger
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-personopplysninger
image: 'ghcr.io/navikt/pb-oidc-provider-gui/pb-oidc-provider-gui:latest'
ports:
- "50000:50000"
environment:
REDIRECT_URL: "http://localhost:3000"
AUTO_REDIRECT_TO_FRONTEND: "true"
OIDC_PROVIDER_GUI_URL: 'http://localhost:50000/callback'
depends_on:
- oidc-provider
mocks:
container_name: mocks-personopplysninger
image: 'ghcr.io/navikt/pb-nav-mocked/pb-nav-mocked:latest'
ports:
- "8095:8080"
environment:
CORS_ALLOWED_ORIGINS: 'localhost:3000'
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
dekoratoren:
container_name: dekoratoren-personopplysninger
image: 'ghcr.io/navikt/nav-dekoratoren:latest'
ports:
- "8100:8088"
environment:
ENV: 'localhost'
XP_BASE_URL: 'http://localhost:3000'
APP_BASE_URL: 'http://localhost:8100'
APP_BASE_PATH: '/dekoratoren'
API_XP_SERVICES_URL: 'https://www.nav.no/_/service'
API_DEKORATOREN_URL: 'http://localhost:8095/nav-dekoratoren-api'
MINSIDE_ARBEIDSGIVER_URL: 'https://arbeidsgiver.nav.no/min-side-arbeidsgiver/'
MIN_SIDE_URL: 'https://www.nav.no/minside/'
LOGIN_URL: 'http://localhost:50000'
LOGOUT_URL: 'http://localhost:50000/?logout'
VARSEL_API_URL: 'http://localhost:8095/tms-varsel-api'
depends_on:
- mocks
arbeidsforhold-api:
container_name: arbeidsforhold-api-personopplysninger
image: "navikt/arbeidsforhold-api:5ae21ce5-987b-4da2-8027-077c93564195-v1.0.17"
ports:
- "8096:8080"
environment:
APP_LOG_HOME: "target/log"
contextName: "arbeidsforhold-api"
AAD_B2C_ISSUER: "https://localhost:9000"
AAD_B2C_CLIENTID_USERNAME: "stubOidcClient"
AAD_B2C_DISCOVERY_URL: "http://oidc-provider:9000/.well-known/openid-configuration"
KODEVERK_REST_API_URL: "http://mocks:8080/kodeverk/api/"
ARBEIDSFORHOLD_API_KODEVERK_REST_API_APIKEY_USERNAME: "x-nav-apiKey"
ARBEIDSFORHOLD_API_KODEVERK_REST_API_APIKEY_PASSWORD: "dummy-token"
EREG_API_URL: "http://mocks:8080/ereg/api/"
ARBEIDSFORHOLD_API_EREG_API_APIKEY_USERNAME: "x-nav-apiKey"
ARBEIDSFORHOLD_API_EREG_API_APIKEY_PASSWORD: "dummy-token"
SECURITY_TOKEN_SERVICE_TOKEN_URL: "http://mocks:8080/security-token-service/rest/v1/sts/token/"
ARBEIDSFORHOLD_API_SECURITY_TOKEN_SERVICE_TOKEN_APIKEY_USERNAME: "x-nav-apiKey"
ARBEIDSFORHOLD_API_SECURITY_TOKEN_SERVICE_TOKEN_APIKEY_PASSWORD: "dummy-token"
AAREG_API_URL: "http://mocks:8080/aareg-services/api/"
ARBEIDSFORHOLD_API_AAREG_API_APIKEY_USERNAME: "x-nav-apiKey"
ARBEIDSFORHOLD_API_AAREG_API_APIKEY_PASSWORD: "dummy-token"
SRVARBEIDSFORHOLD_API_USERNAME: "srvarbeidsforhold-"
SRVARBEIDSFORHOLD_API_PASSWORD: "dummy-password"
depends_on:
- oidc-provider
- mocks
volumes:
event-cache-data: