Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): add missing port mappings for non-neo4j quickstart #5799

Merged
merged 2 commits into from
Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/docker-compose-without-neo4j.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
env_file: mysql/env/docker.env
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
ports:
- "3306:3306"
- ${DATAHUB_MAPPED_MYSQL_PORT:-3306}:3306
volumes:
- ./mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
- mysqldata:/var/lib/mysql
Expand All @@ -26,11 +26,11 @@ services:

datahub-gms:
env_file: datahub-gms/env/docker-without-neo4j.env
depends_on:
- mysql
environment:
- DATAHUB_SERVER_TYPE=${DATAHUB_SERVER_TYPE:-quickstart}
- DATAHUB_TELEMETRY_ENABLED=${DATAHUB_TELEMETRY_ENABLED:-true}
depends_on:
- mysql
volumes:
- ${HOME}/.datahub/plugins:/etc/datahub/plugins

Expand Down
13 changes: 6 additions & 7 deletions docker/docker-compose-without-neo4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
hostname: zookeeper
container_name: zookeeper
ports:
- "2181:2181"
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/opt/zookeeper

Expand All @@ -24,8 +24,7 @@ services:
depends_on:
- zookeeper
ports:
- "29092:29092"
- "9092:9092"
- ${DATAHUB_MAPPED_KAFKA_BROKER_PORT:-9092}:9092

# This "container" is a workaround to pre-create topics
kafka-setup:
Expand All @@ -48,15 +47,15 @@ services:
- zookeeper
- broker
ports:
- "8081:8081"
- ${DATAHUB_MAPPED_SCHEMA_REGISTRY_PORT:-8081}:8081

elasticsearch:
image: elasticsearch:7.9.3
env_file: elasticsearch/env/docker.env
container_name: elasticsearch
hostname: elasticsearch
ports:
- "9200:9200"
- ${DATAHUB_MAPPED_ELASTIC_PORT:-9200}:9200
environment:
- discovery.type=single-node
- xpack.security.enabled=false
Expand Down Expand Up @@ -88,7 +87,7 @@ services:
hostname: datahub-gms
container_name: datahub-gms
ports:
- "8080:8080"
- ${DATAHUB_MAPPED_GMS_PORT:-8080}:8080
depends_on:
- elasticsearch-setup
- kafka-setup
Expand All @@ -103,7 +102,7 @@ services:
hostname: datahub-frontend-react
container_name: datahub-frontend-react
ports:
- "9002:9002"
- ${DATAHUB_MAPPED_FRONTEND_PORT:-9002}:9002
depends_on:
- datahub-gms
volumes:
Expand Down
15 changes: 7 additions & 8 deletions docker/quickstart/docker-compose-without-neo4j.quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ services:
hostname: broker
image: confluentinc/cp-kafka:5.4.0
ports:
- 29092:29092
- 9092:9092
- ${DATAHUB_MAPPED_KAFKA_BROKER_PORT:-9092}:9092
datahub-actions:
depends_on:
- datahub-gms
Expand Down Expand Up @@ -55,7 +54,7 @@ services:
hostname: datahub-frontend-react
image: ${DATAHUB_FRONTEND_IMAGE:-linkedin/datahub-frontend-react}:${DATAHUB_VERSION:-head}
ports:
- 9002:9002
- ${DATAHUB_MAPPED_FRONTEND_PORT:-9002}:9002
volumes:
- ${HOME}/.datahub/plugins:/etc/datahub/plugins
datahub-gms:
Expand Down Expand Up @@ -87,7 +86,7 @@ services:
hostname: datahub-gms
image: ${DATAHUB_GMS_IMAGE:-linkedin/datahub-gms}:${DATAHUB_VERSION:-head}
ports:
- 8080:8080
- ${DATAHUB_MAPPED_GMS_PORT:-8080}:8080
volumes:
- ${HOME}/.datahub/plugins:/etc/datahub/plugins
elasticsearch:
Expand All @@ -107,7 +106,7 @@ services:
image: elasticsearch:7.9.3
mem_limit: 1g
ports:
- 9200:9200
- ${DATAHUB_MAPPED_ELASTIC_PORT:-9200}:9200
volumes:
- esdata:/usr/share/elasticsearch/data
elasticsearch-setup:
Expand Down Expand Up @@ -141,7 +140,7 @@ services:
hostname: mysql
image: mysql:5.7
ports:
- 3306:3306
- ${DATAHUB_MAPPED_MYSQL_PORT:-3306}:3306
volumes:
- ../mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
- mysqldata:/var/lib/mysql
Expand All @@ -168,7 +167,7 @@ services:
hostname: schema-registry
image: confluentinc/cp-schema-registry:5.4.0
ports:
- 8081:8081
- ${DATAHUB_MAPPED_SCHEMA_REGISTRY_PORT:-8081}:8081
zookeeper:
container_name: zookeeper
environment:
Expand All @@ -177,7 +176,7 @@ services:
hostname: zookeeper
image: confluentinc/cp-zookeeper:5.4.0
ports:
- 2181:2181
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/opt/zookeeper
version: '2.3'
Expand Down