Skip to content

Commit

Permalink
fix(datahub-upgrade) add config registry to datahub upgrade container (
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexter Lee authored Aug 2, 2021
1 parent beb9b62 commit c982626
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/datahub-upgrade/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN cd datahub-src && cp datahub-upgrade/build/libs/datahub-upgrade.jar ../datah

FROM base as prod-install
COPY --from=prod-build /datahub-upgrade.jar /datahub/datahub-upgrade/bin/
COPY --from=prod-build /datahub-src/metadata-models/src/main/resources/entity-registry.yml /datahub/datahub-gms/resources/entity-registry.yml

FROM base as dev-install
# Dummy stage for development. Assumes code is built on your machine and mounted to this image.
Expand Down
1 change: 1 addition & 0 deletions docker/datahub-upgrade/env/docker-without-neo4j.env
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ GRAPH_SERVICE_IMPL=elasticsearch
DATAHUB_GMS_HOST=datahub-gms
DATAHUB_GMS_PORT=8080

ENTITY_REGISTRY_CONFIG_PATH=/datahub/datahub-gms/resources/entity-registry.yml

# Uncomment and set these to support SSL connection to Elasticsearch
# ELASTICSEARCH_USE_SSL=
Expand Down
1 change: 1 addition & 0 deletions docker/datahub-upgrade/env/docker.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ NEO4J_PASSWORD=datahub
DATAHUB_GMS_HOST=datahub-gms
DATAHUB_GMS_PORT=8080

ENTITY_REGISTRY_CONFIG_PATH=/datahub/datahub-gms/resources/entity-registry.yml

# Uncomment and set these to support SSL connection to Elasticsearch
# ELASTICSEARCH_USE_SSL=
Expand Down

0 comments on commit c982626

Please sign in to comment.