2020-08-06 16:38:53 -07:00
|
|
|
# DataHub Generalized Metadata Store (GMS) Docker Image
|
2025-04-16 16:55:51 -07:00
|
|
|
|
2022-03-18 22:12:19 +01:00
|
|
|
[](https://github.com/datahub-project/datahub/actions?query=workflow%3A%22datahub-gms+docker%22)
|
2020-08-06 16:38:53 -07:00
|
|
|
|
2025-04-16 16:55:51 -07:00
|
|
|
Refer to [DataHub GMS Service](../../metadata-service) to have a quick understanding of the architecture and
|
2020-08-06 16:38:53 -07:00
|
|
|
responsibility of this service for the DataHub.
|
|
|
|
|
|
|
|
## Other Database Platforms
|
|
|
|
|
2025-04-16 16:55:51 -07:00
|
|
|
While GMS defaults to using MySQL as its storage backend, it is possible to switch to any of the
|
2020-08-06 16:38:53 -07:00
|
|
|
[database platforms](https://ebean.io/docs/database/) supported by Ebean.
|
|
|
|
|
|
|
|
For example, you can run the following command to start a GMS that connects to a PostgreSQL backend.
|
|
|
|
|
|
|
|
```
|
|
|
|
(cd docker/ && docker-compose -f docker-compose.yml -f docker-compose.postgre.yml -p datahub up)
|
|
|
|
```
|
|
|
|
|
|
|
|
or a MariaDB backend
|
|
|
|
|
|
|
|
```
|
|
|
|
(cd docker/ && docker-compose -f docker-compose.yml -f docker-compose.mariadb.yml -p datahub up)
|
|
|
|
```
|