Skip to content

Commit

Permalink
TB-204 update linker env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewErispe committed Oct 3, 2023
1 parent b168573 commit e383c21
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
16 changes: 14 additions & 2 deletions client-registry-jempi/docker-compose.combined.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
networks:
kafka:
default:

jempi-sync-receiver:
image: jembi/jempi-sync-receiver:${JEMPI_SYNC_RECEIVER_IMAGE_TAG}
environment:
Expand Down Expand Up @@ -79,7 +79,19 @@ services:
jempi-linker:
image: jembi/jempi-linker:${JEMPI_LINKER_IMAGE_TAG}
environment:
kafka.bootstrap.servers: ${KAFKA_HOSTS}
POSTGRESQL_USER: ${POSTGRESQL_USERNAME}
POSTGRESQL_PASSWORD: ${POSTGRESQL_PASSWORD}
POSTGRESQL_DATABASE: ${POSTGRESQL_DATABASE}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_HOSTS}
KAFKA_APPLICATION_ID_INTERACTIONS: ${KAFKA_APPLICATION_ID_INTERACTIONS}
KAFKA_APPLICATION_ID_MU: ${KAFKA_APPLICATION_ID_MU}
KAFKA_CLIENT_ID_NOTIFICATIONS: ${KAFKA_CLIENT_ID_NOTIFICATIONS}
DGRAPH_HOSTS: ${DGRAPH_HOSTS}
DGRAPH_PORTS: ${DGRAPH_PORTS}
HTTP_SERVER_PORT: ${HTTP_SERVER_PORT}
LOG4J2_LEVEL: ${LOG4J2_LEVEL}
LINKER_MATCH_THRESHOLD: ${LINKER_MATCH_THRESHOLD}
LINKER_MATCH_THRESHOLD_MARGIN: ${LINKER_MATCH_THRESHOLD_MARGIN}
deploy:
replicas: ${JEMPI_LINKER_INSTANCES}
resources:
Expand Down
11 changes: 10 additions & 1 deletion client-registry-jempi/package-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
"DGRAPH_HOSTS": "jempi-alpha-01,jempi-alpha-02,jempi-alpha-03",
"DGRAPH_PORTS": "9080,9081,9082",
"HTTP_SERVER_PORT": "50000",
"LOG4J2_LEVEL": "DEBUG"
"LOG4J2_LEVEL": "DEBUG",
"KAFKA_APPLICATION_ID_INTERACTIONS": "app-id-link1",
"KAFKA_APPLICATION_ID_MU": "app-id-link2",
"KAFKA_CLIENT_ID_NOTIFICATIONS": "app-id-link3",
"LINKER_MATCH_THRESHOLD": 0.65,
"LINKER_MATCH_THRESHOLD_MARGIN": 0.1,
"KAFKA_CLIENT_ID_ASYNC": "client-id-syncrx",
"KAFKA_APPLICATION_ID_ETL": "app-id-etl",
"KAFKA_APPLICATION_ID_CTRL": "app-id-ctrl",
"KAFKA_CLIENT_ID_CTRL": "client-id-ctrl"
}
}

0 comments on commit e383c21

Please sign in to comment.