From 104f50afcb2caa8535f386308d1a9784ff54cae2 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Thu, 4 Jan 2024 13:14:10 +0100 Subject: [PATCH] docs: add docker-compose.yml example --- docs/docker-compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/docker-compose.yml diff --git a/docs/docker-compose.yml b/docs/docker-compose.yml new file mode 100644 index 0000000..76fdec0 --- /dev/null +++ b/docs/docker-compose.yml @@ -0,0 +1,28 @@ +### Example for docker-compose +version: '3.7' + +volumes: + data: + +services: + + ### ETL-Processor + etl-processor: + image: ghcr.io/ccc-mf/etl-processor:latest + environment: + APP_REST_URI: http://bwhc-backend/bwhc/etl/api + SPRING_DATASOURCE_URL: jdbc:postgresql://postgres/etl + SPRING_DATASOURCE_USERNAME: etl + SPRING_DATASOURCE_PASSWORD: etl-password + # For reverse proxy + SERVER_FORWARD_HEADERS_STRATEGY: framework + + ### Database + postgres: + image: postgres:alpine + environment: + POSTGRES_DB: etl + POSTGRES_USER: etl + POSTGRES_PASSWORD: etl-password + volumes: + - data:/var/lib/postgresql/data \ No newline at end of file