2020-08-06 16:38:53 -07:00
|
|
|
# Default overrides for running local development.
|
|
|
|
|
|
|
|
# Images here are made as "development" images by following the general pattern of defining a multistage build with
|
|
|
|
# separate prod/dev steps; using APP_ENV to specify which to use. The dev steps should avoid building and instead assume
|
|
|
|
# that binaries and scripts will be mounted to the image, as also set up by this file. Also see see this excellent
|
|
|
|
# thread https://github.com/docker/cli/issues/1134.
|
|
|
|
|
|
|
|
# To make a JVM app debuggable via IntelliJ, go to its env file and add JVM debug flags, and then add the JVM debug
|
|
|
|
# port to this file.
|
|
|
|
---
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
2021-02-24 16:00:16 -08:00
|
|
|
# Pre-creates the search indices using local mapping/settings.json
|
|
|
|
elasticsearch-setup:
|
2021-06-04 18:12:26 -07:00
|
|
|
image: linkedin/datahub-elasticsearch-setup:debug
|
2021-02-24 16:00:16 -08:00
|
|
|
build:
|
|
|
|
context: elasticsearch-setup
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
APP_ENV: dev
|
|
|
|
volumes:
|
|
|
|
- ./elasticsearch-setup/create-indices.sh:/create-indices.sh
|
2021-08-20 10:58:07 -07:00
|
|
|
- ../metadata-service/restli-impl/src/main/resources/index/:/index
|
2021-02-24 16:00:16 -08:00
|
|
|
|
2021-06-04 18:12:26 -07:00
|
|
|
kafka-setup:
|
|
|
|
image: linkedin/datahub-kafka-setup:debug
|
|
|
|
build:
|
|
|
|
context: kafka-setup
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
APP_ENV: dev
|
|
|
|
|
2020-08-06 16:38:53 -07:00
|
|
|
datahub-gms:
|
|
|
|
image: linkedin/datahub-gms:debug
|
|
|
|
build:
|
|
|
|
context: datahub-gms
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
APP_ENV: dev
|
|
|
|
volumes:
|
|
|
|
- ./datahub-gms/start.sh:/datahub/datahub-gms/scripts/start.sh
|
2021-09-07 23:06:15 -07:00
|
|
|
- ./monitoring/client-prometheus-config.yaml:/datahub/datahub-gms/scripts/prometheus-config.yaml
|
2021-07-30 17:41:03 -07:00
|
|
|
- ../metadata-models/src/main/resources/:/datahub/datahub-gms/resources
|
2021-08-20 10:58:07 -07:00
|
|
|
- ../metadata-service/war/build/libs/:/datahub/datahub-gms/bin
|
2021-11-28 21:06:27 -08:00
|
|
|
- ${HOME}/.datahub/plugins:/etc/datahub/plugins
|
2020-08-06 16:38:53 -07:00
|
|
|
|
2021-03-19 18:55:04 -04:00
|
|
|
datahub-frontend-react:
|
|
|
|
image: linkedin/datahub-frontend-react:debug
|
|
|
|
build:
|
|
|
|
context: datahub-frontend
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
APP_ENV: dev
|
|
|
|
volumes:
|
|
|
|
- ../datahub-frontend/build/stage/datahub-frontend:/datahub-frontend
|