-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (28 loc) · 859 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (28 loc) · 859 Bytes
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
version: '3.8'
services:
dataspace-consumer:
# Use pre-built image from GitHub Container Registry
image: ghcr.io/fraunhoferiosb/dataspaceconsumer-framework:latest
# Use local build
# build:
# context: ../..
# dockerfile: framework/Dockerfile
# image: dataspace-consumer-framework:latest
container_name: dataspace-consumer
restart: unless-stopped
ports:
- "8080:8080"
volumes:
# Mount extensions
- ./extensions:/app/extensions:ro
# Mount application configuration
- ./config/application.yml:/app/config/application.yml:ro
# Persistent data directory
- data:/app/data
environment:
# Spring Boot configuration
- SPRING_CONFIG_LOCATION=/app/config/application.yml
# PF4J plugin directories
- PF4J_PLUGINS_DIR=/app/extensions
volumes:
data: