Skip to content

Commit

Permalink
TB-205 update api env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewErispe committed Oct 3, 2023
1 parent c6f479e commit b168573
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
20 changes: 9 additions & 11 deletions client-registry-jempi/docker-compose.api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ services:
jempi-api:
image: jembi/jempi-api:${JEMPI_API_IMAGE_TAG}
environment:
KC_REALM_NAME: ${KC_REALM_NAME}
KC_JEMPI_CLIENT_ID: ${KC_JEMPI_CLIENT_ID}
KC_JEMPI_CLIENT_SECRET: ${KC_JEMPI_CLIENT_SECRET}
KC_API_URL: ${KC_API_URL}
KC_JEMPI_ROOT_URL: ${KC_JEMPI_ROOT_URL}
JEMPI_SESSION_SECRET: ${JEMPI_SESSION_SECRET}
kafka.bootstrap.servers: ${KAFKA_HOSTS}
JEMPI_FILE_IMPORT_MAX_SIZE_BYTE: ${JEMPI_FILE_IMPORT_MAX_SIZE_BYTE}
JEMPI_SESSION_SECURE: ${JEMPI_SESSION_SECURE}
JEMPI_SESSION_DOMAIN_NAME: ${DOMAIN_NAME}
postgres.server: ${JEMPI_REPMGR_PARTNER_NODES}
POSTGRESQL_USER: ${POSTGRESQL_USERNAME}
POSTGRESQL_PASSWORD: ${POSTGRESQL_PASSWORD}
POSTGRESQL_DATABASE: ${POSTGRESQL_DATABASE}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_HOSTS}
KAFKA_APPLICATION_ID: ${KAFKA_APPLICATION_ID_API}
DGRAPH_HOSTS: ${DGRAPH_HOSTS}
DGRAPH_PORTS: ${DGRAPH_PORTS}
HTTP_SERVER_PORT: ${HTTP_SERVER_PORT}
LOG4J2_LEVEL: ${LOG4J2_LEVEL}
deploy:
replicas: ${JEMPI_API_INSTANCES}
resources:
Expand Down
8 changes: 7 additions & 1 deletion client-registry-jempi/package-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
"JEMPI_POSTGRES_MEMORY_LIMIT": "3G",
"JEMPI_POSTGRES_MEMORY_RESERVE": "500M",
"JEMPI_SESSION_SECURE": false,
"DOMAIN_NAME": ""
"DOMAIN_NAME": "",
"POSTGRESQL_PASSWORD": "postgres",
"KAFKA_APPLICATION_ID_API": "api-app-id",
"DGRAPH_HOSTS": "jempi-alpha-01,jempi-alpha-02,jempi-alpha-03",
"DGRAPH_PORTS": "9080,9081,9082",
"HTTP_SERVER_PORT": "50000",
"LOG4J2_LEVEL": "DEBUG"
}
}

0 comments on commit b168573

Please sign in to comment.