Documentation Index
Fetch the complete documentation index at: https://openmetadata-feat-feat-2mbfixdeploy.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Docker Advanced Configuration & Troubleshooting
Port Mapping / Port Forwarding
We are shipping the OpenMetadata server and UI at container port and host port8585. You can change the host port number according to your requirement.
As an example, You could update the ports to serve OpenMetadata Server and UI at port 80
To achieve this -
- You just have to update the ports mapping of the openmetadata-server in the
docker-compose.ymlfile underopenmetadata-serverdocker service section.
- Once the port is updated if there are any containers running remove them first using
docker compose downcommand and then recreate the containers once again by below command
Run OpenMetadata with a load balancer
You may put one or more OpenMetadata instances behind a load balancer for reverse proxying. To do this you will need to add one or more entries to the configuration file for your reverse proxy.Nginx
To use OpenMetadata behind Nginx reverse proxy, add an entry resembling the following in the http context of your Nginx configuration file for each OpenMetadata instance.Run OpenMetadata with AWS Services
If you are running OpenMetadata in AWS, it is recommended to use Amazon RDS and Amazon OpenSearch Service. We support- Amazon RDS (MySQL) engine version 8 or higher
- Amazon OpenSearch (ElasticSearch) engine version 9.x (minimum 9.0.0, recommended 9.3.0) or Amazon OpenSearch engine version 3.x (minimum 3.0.0, recommended 3.3.0)
- Amazon RDS (PostgreSQL) engine version 12 or higher
opensearch, for both cases ElasticSearch and OpenSearch,
as you can see in the ElasticSearch configuration example.
For Production Systems, we recommend Amazon RDS to be in Multiple Availability Zones. For Amazon OpenSearch (or ElasticSearch) Service, we recommend Multiple Availability Zones with minimum 3 Master Nodes.
Once you have the RDS and OpenSearch Services Setup, you can update the environment variables below for OpenMetadata Docker Compose backed systems to connect with Database and ElasticSearch.
Advanced
Add Docker Volumes for OpenMetadata Server Compose Service
There are many scenarios where you would want to provide additional files to the OpenMetadata Server and serve while running the application. In such scenarios, it is recommended to provision docker volumes for OpenMetadata Application. For example, we would like to provide custom JWT Configuration Keys to be served to OpenMetadata Application. This requires the OpenMetadata Containers to have docker volumes sharing the private and public keys. Let’s assume you have the keys available injwtkeys directory in the same directory where your docker-compose file is available in the host machine.
In scenarios where you need to provide a custom openmetadata.yaml configuration file to the OpenMetadata application, you can do so by mounting the file as a volume in the Docker container. This is especially useful for configurations that cannot be controlled through environment variables.
We add the volumes section to mount the keys or openmetadata.yaml onto the docker containers create with docker compose as follows -
openmetadata.yaml.
Once the changes are updated, if there are any containers running remove them first using docker compose down command and then recreate the containers once again by below command
Troubleshooting
Java Memory Heap Issue
If your openmetadata Docker Compose logs speaks about the below issue -Xmx specifies the maximum memory allocation pool for a Java virtual machine (JVM), while Xms specifies the initial memory allocation pool.
Restart the OpenMetadata Docker Compose Application using docker compose --env-file <my-env-file> -f docker-compose.yml up --detach which will recreate the containers with new environment variable values you have provided.
PostgreSQL Issue permission denied to create extension “pgcrypto”
If you are facing the below issue with PostgreSQL as Database Backend for OpenMetadata Application,Security
Please follow our Enable Security Guide to configure security for your OpenMetadata installation.Next Steps
- Refer the How-to Guides for an overview of all the features in OpenMetadata.
- Visit the Connectors documentation to see what services you can integrate with OpenMetadata.
- Visit the API documentation and explore the rich set of OpenMetadata APIs.