mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-04-19 09:16:51 +00:00
28 lines
612 B
YAML
28 lines
612 B
YAML
### Example for docker-compose
|
|
version: '3.7'
|
|
|
|
volumes:
|
|
data:
|
|
|
|
services:
|
|
|
|
### ETL-Processor
|
|
etl-processor:
|
|
image: ghcr.io/ccc-mf/etl-processor:latest
|
|
ports:
|
|
- 8080:8080
|
|
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
|
|
|
|
### Database
|
|
postgres:
|
|
image: postgres:alpine
|
|
environment:
|
|
POSTGRES_DB: etl
|
|
POSTGRES_USER: etl
|
|
POSTGRES_PASSWORD: etl-password
|
|
volumes:
|
|
- data:/var/lib/postgresql/data |