-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
61 lines (61 loc) · 1.84 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
services:
testnav-altinn3-tilgang-service:
container_name: testnav-altinn3-tilgang-service
environment:
- SPRING_PROFILES_ACTIVE=virtual
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
- TOKEN_X_PRIVATE_JWK=${JWK}
- MASKINPORTEN_CLIENT_JWK=${JWK}
build:
context: ./apps/testnav-altinn3-tilgang-service
depends_on:
- tokendings
- maskinporten
- altinn
ports:
- "8001:8080"
- "5001:5005"
tokendings:
container_name: tokendings
build:
context: ./mocks/tokendings-mock
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "9001:8080"
maskinporten:
container_name: maskinporten
build:
context: ./mocks/maskinporten-mock
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "9002:8080"
altinn:
image: wiremock/wiremock
container_name: altinn
volumes:
- ./mocks/altinn-mock/wiremock/__files:/home/wiremock/__files
- ./mocks/altinn-mock/wiremock/mappings:/home/wiremock/mappings
testnav-bruker-service-db:
image: postgres
restart: always
container_name: testnav-bruker-service-db
environment:
- POSTGRES_USER=compose-postgres
- POSTGRES_PASSWORD=compose-postgres
testnav-bruker-service:
container_name: testnav-bruker-service
environment:
- SPRING_PROFILES_ACTIVE=virtual
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
- TOKEN_X_PRIVATE_JWK=${JWK}
build:
context: ./apps/bruker-service
depends_on:
- testnav-bruker-service-db
- testnav-altinn3-tilgang-service
- tokendings
ports:
- "8002:8080"
- "5002:5005"