-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚧 Refactor to adapt to latest version (WIP)
- Loading branch information
Showing
41 changed files
with
708 additions
and
575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,50 @@ | ||
services: | ||
consumer: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.openjdk | ||
build: . | ||
image: edc-connector | ||
pull_policy: never | ||
container_name: consumer | ||
restart: on-failure | ||
command: | ||
[ | ||
"java", | ||
"-Dedc.fs.config=/opt/src/example/consumer.properties", | ||
"-Dedc.keystore=/opt/src/example/certs-consumer/cert.pfx", | ||
"-Dedc.keystore.password=datacellar", | ||
"-Dedc.vault=/opt/src/example/certs-consumer/vault.properties", | ||
"-jar", | ||
"/opt/src/example/core-connector.jar" | ||
] | ||
ports: | ||
- "9191:9191" | ||
- "9193:9193" | ||
- "9194:9194" | ||
- "9291:9291" | ||
- "9192:9192" | ||
- 9191:9191 | ||
- 9193:9193 | ||
- 9194:9194 | ||
- 9291:9291 | ||
- 9192:9192 | ||
environment: | ||
PROPERTIES_FILE_PATH: /opt/src/example/consumer.properties | ||
KEYSTORE_PATH: /opt/src/example/certs-consumer/cert.pfx | ||
KEYSTORE_PASSWORD: datacellar | ||
volumes: | ||
- .:/opt/src | ||
# To ensure that mDNS resolution is enabled in the container | ||
- /var/run/dbus:/var/run/dbus | ||
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket | ||
consumer_backend: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.edcpy | ||
build: . | ||
image: edc-connector | ||
pull_policy: never | ||
container_name: consumer_backend | ||
restart: on-failure | ||
command: [ "run-http-backend" ] | ||
command: ["run-http-backend"] | ||
volumes: | ||
- .:/opt/src | ||
- /var/run/dbus:/var/run/dbus | ||
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket | ||
environment: | ||
# The public key of the provider is needed to verify the signature of the JWT | ||
EDC_CERT_PATH: /opt/src/example/certs-provider/cert.pem | ||
EDC_RABBIT_URL: "amqp://guest:guest@broker:5672" | ||
EDC_RABBIT_URL: amqp://guest:guest@broker:5672 | ||
EDC_HTTP_API_PORT: 8000 | ||
ports: | ||
- "8000:8000" | ||
consumer_sandbox: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.edcpy | ||
container_name: consumer_sandbox | ||
restart: on-failure | ||
command: [ "sleep", "infinity" ] | ||
volumes: | ||
- .:/opt/src | ||
- /var/run/dbus:/var/run/dbus | ||
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket | ||
environment: | ||
EDC_CERT_PATH: /opt/src/example/certs-provider/cert.pem | ||
EDC_RABBIT_URL: "amqp://guest:guest@broker:5672" | ||
env_file: ./example/.env.example | ||
- 8000:8000 | ||
broker: | ||
image: rabbitmq:3.11-management | ||
container_name: consumer_broker | ||
restart: on-failure | ||
ports: | ||
- "5672:5672" | ||
- "15672:15672" | ||
- 5672:5672 | ||
- 15672:15672 | ||
environment: | ||
RABBITMQ_DEFAULT_USER: guest | ||
RABBITMQ_DEFAULT_PASS: guest | ||
|
Oops, something went wrong.