forked from eclipse-edc/RegistrationService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.63 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
services:
registration-service:
container_name: registration-service
# Special DNS name which resolves to the internal IP address used by the host. Used for testing purposes only.
# https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host
# It's used in tests to connect from a container to a mock-service on the host
extra_hosts:
- "host.docker.internal:host-gateway"
build:
context: launcher
args:
JVM_ARGS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
environment:
JWT_AUDIENCE: http://localhost:8182/authority
EDC_CONNECTOR_NAME: registration-service
EDC_IDENTITY_DID_URL: did:web:did-server:test-dataspace-authority
EDC_VAULT: /resources/vault/registration-service-vault.properties
EDC_KEYSTORE: /resources/vault/registration-service-keystore.jks
EDC_KEYSTORE_PASSWORD: test123
EDC_IAM_DID_WEB_USE_HTTPS: "false"
EDC_ERROR_RESPONSE_VERBOSE: "true"
WEB_HTTP_AUTHORITY_PORT: 8182
WEB_HTTP_AUTHORITY_PATH: /authority
volumes:
- ./resources/vault:/resources/vault
ports:
- "8182:8182"
- "5005:5005"
did-server:
container_name: did-server
image: nginx
volumes:
- ./resources/webdid:/usr/share/nginx/html
ports:
- "8080:80"
# Dataspace participant with identity-hub
participant:
container_name: participant
build:
context: system-tests/launchers/identity-hub
args:
JVM_ARGS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5007"
ports:
- "8181:8181"
- "5007:5007"