mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-04-19 17:26:51 +00:00
chore: add deployment docker-compose.yaml and fitting env-sample.env file
This commit is contained in:
parent
3d2c73ff8f
commit
480f165c7b
25
deploy/docker-compose.yaml
Normal file
25
deploy/docker-compose.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
dnpm-etl-processor:
|
||||
image: dnpm-elt-processor:latest
|
||||
env_file:
|
||||
- ./env-sample.env
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- dnpm_processor
|
||||
|
||||
db:
|
||||
image: mariadb:10
|
||||
environment:
|
||||
MARIADB_DATABASE: dev
|
||||
MARIADB_USER: dev
|
||||
MARIADB_PASSWORD: dev
|
||||
MARIADB_ROOT_PASSWORD: dev
|
||||
expose:
|
||||
- "3306"
|
||||
networks:
|
||||
- dnpm_processor
|
||||
networks:
|
||||
dnpm_processor: {}
|
44
deploy/env-sample.env
Normal file
44
deploy/env-sample.env
Normal file
@ -0,0 +1,44 @@
|
||||
# monitoring access port
|
||||
SERVER_PORT=8000
|
||||
|
||||
# GPAS or BUILDIN
|
||||
APP_PSEUDONYMIZE_GENERATOR=BUILDIN
|
||||
APP_PSEUDONYMIZE_PREFIX=
|
||||
APP_PSEUDONYMIZE_GPAS_URI=
|
||||
APP_PSEUDONYMIZE_GPAS_TARGET=
|
||||
APP_PSEUDONYMIZE_GPAS_USERNAME=
|
||||
APP_PSEUDONYMIZE_GPAS_PASSWORD=
|
||||
|
||||
# path to ca root cert if needed
|
||||
APP_PSEUDONYMIZE_GPAS_SSLCALOCATION=
|
||||
|
||||
# monitoring data db
|
||||
SPRING_DATASOURCE_URL:jdbc:mariadb://db:3306/dev
|
||||
SPRING_DATASOURCE_PASSWORD: dev
|
||||
SPRING_DATASOURCE_USERNAME: dev
|
||||
|
||||
## TARGET SYSTEMS CONFIG
|
||||
# DIRECT BWHC
|
||||
# in case of direct access to bwhc enter endpoint url here
|
||||
APP_REST_URI=
|
||||
|
||||
## Apache KAFKA
|
||||
# list of broker instances
|
||||
APP_KAFKA_SERVERS=
|
||||
|
||||
# produce mtb files to this topic
|
||||
APP_KAFKA_TOPIC=mtb-file-json
|
||||
|
||||
# here we receive responses from bwhc
|
||||
APP_KAFKA_RESPONSE_TOPIC=
|
||||
APP_KAFKA_GROUP_ID=dnpm
|
||||
|
||||
# SSL or PLAINTEXT
|
||||
SPRING_KAFKA_SECURITY_PROTOCOL=PLAINTEXT
|
||||
SPRING_KAFKA_SSL_TRUST-STORE-TYPE=PKCS12
|
||||
SPRING_KAFKA_SSL_TRUST-STORE-LOCATION=file://opt/kafka-certs/ca.p12}
|
||||
SPRING_KAFKA_SSL_TRUST-STORE-PASSWORD=
|
||||
SPRING_KAFKA_SSL_KEY-STORE-TYPE=PKCS12
|
||||
SPRING_KAFKA_SSL_KEY-STORE-LOCATION=file://opt/kafka-certs/user.p12}
|
||||
SPRING_KAFKA_SSL_KEY-STORE-PASSWORD=
|
||||
SPRING_KAFKA_PRODUCER_COMPRESSION-TYPE: gzip
|
Loading…
x
Reference in New Issue
Block a user