Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Docker Deployment

This directory contains the Docker Compose deployment configuration for the Dataspace Consumer Framework.

Quick Start

  1. Download or build the extensions: You can either download the pre-built extensions from the GitHub Release page (or latest action run) or build them locally using Maven.
  • Download: Go to the Releases page and download the latest extension JARs. Copy the downloaded JARs into this extensions directory.

  • Build:

     cd extensions
     mvn clean package
     cp extensions/target/*-all.jar ./extensions/
  1. Start the application:
     cd deployment/docker
     docker-compose up -d

Configuration

Docker Compose

The docker-compose.yaml defines the dataspace-consumer service with:

  • Pre-built image from GitHub Container Registry
  • Port 8080 exposed for REST API access
  • Mounted volumes for extensions, configuration, and persistent data
  • Automatic restart policy

Application Configuration

The config/application.yml contains the MX-Port configuration. See the application configuration documentation for details.

Using Local Build

To use a locally built image instead of the pre-built one, uncomment the build section in docker-compose.yaml:

build:
  context: ../..
  dockerfile: framework/Dockerfile
image: dataspace-consumer-framework:latest

Volumes

  • extensions: Read-only mount of plugin JAR files
  • config: Read-only mount of application configuration
  • data: Persistent volume for application data and logs

Logs

View application logs:

docker-compose logs -f dataspace-consumer

Stopping the Application

docker-compose down

To also remove persistent data:

docker-compose down -v