Skip to content

Commit

Permalink
build(mysql): Change mysql dependency from latest to 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerem Sahin committed Mar 22, 2020
1 parent 84326b3 commit 6ab2ab6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions docker/gms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ networks:
```

#### MySQL, Elasticsearch and Kafka Containers
Before starting `datahub-gms` container, `mysql`, `elasticsearch` and `kafka` containers should already be up and running.
Before starting `datahub-gms` container, `mysql`, `elasticsearch`, `neo4j` and `kafka` containers should already be up and running.
These connections are configured via environment variables in `docker-compose.yml`:
```
environment:
Expand All @@ -62,4 +62,12 @@ environment:
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_PORT=9200
```
The value of `ELASTICSEARCH_HOST` variable should be set to the host name of the `elasticsearch` container within the Docker network.
The value of `ELASTICSEARCH_HOST` variable should be set to the host name of the `elasticsearch` container within the Docker network.

```
environment:
- NEO4J_URI=bolt://neo4j
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=datahub
```
The value of `NEO4J_URI` variable should be set to the host name of the `neo4j` container within the Docker network.
2 changes: 1 addition & 1 deletion docker/mysql/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
mysql:
container_name: mysql
hostname: mysql
image: mysql:latest
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'datahub'
Expand Down
2 changes: 1 addition & 1 deletion docker/quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
mysql:
container_name: mysql
hostname: mysql
image: mysql:latest
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'datahub'
Expand Down
2 changes: 1 addition & 1 deletion docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ c267c287a235 landoop/schema-registry-ui:latest "/run.
943e60f9b4d0 neo4j:3.5.7 "/sbin/tini -g -- /d…" 10 hours ago Up 10 hours 0.0.0.0:7474->7474/tcp, 7473/tcp, 0.0.0.0:7687->7687/tcp neo4j
6d79b6f02735 confluentinc/cp-zookeeper:5.2.1 "/etc/confluent/dock…" 10 hours ago Up 10 hours 2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp zookeeper
491d9f2b2e9e docker.elastic.co/elasticsearch/elasticsearch:5.6.8 "/bin/bash bin/es-do…" 10 hours ago Up 10 hours 0.0.0.0:9200->9200/tcp, 9300/tcp elasticsearch
ce14b9758eb3 mysql:latest
ce14b9758eb3 mysql:5.7
```

Also you can check individual Docker container logs by running `docker logs <<container_name>>`. For `datahub-gms`, you should see a log similar to this at the end of the initialization:
Expand Down

0 comments on commit 6ab2ab6

Please sign in to comment.