From 80fe44b83bfd52972f22cae2f4be21704f5e0d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alan=20C=C3=B4rtes?= <31086475+alancmag@users.noreply.github.com> Date: Fri, 21 Oct 2022 01:38:34 -0300 Subject: [PATCH] Fix documentation about volumes (#8297) * Fix paths on volume examples and links. Fix some paths on volumes examples to math the correct on the real compose files. Fix some compose versions on links too. * correcting typos. --- .../content/deployment/docker/volumes.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/openmetadata-docs/content/deployment/docker/volumes.md b/openmetadata-docs/content/deployment/docker/volumes.md index 67ca954fbcd..c0a2231c00c 100644 --- a/openmetadata-docs/content/deployment/docker/volumes.md +++ b/openmetadata-docs/content/deployment/docker/volumes.md @@ -22,7 +22,7 @@ Following are the changes we have to do while mounting the directory for mysql i mkdir -p /opt/openmetadata/db ``` - Update or add the volume in the docker-compose.yml file -Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.11.5-release/docker-compose.yml) . +Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.12.2-release/docker-compose.yml) . ```commandline version: "3.9" @@ -30,7 +30,7 @@ services: mysql: ... volumes: - - /opt/openmetadata/db:/var/lib/mysql + - /opt/openmetadata/db:/var/lib/mysql ... ``` ## Volumes for PostgreSQL container: @@ -40,7 +40,7 @@ Following are the changes we have to do while mounting the directory for postgre mkdir -p /opt/openmetadata/db ``` - Update or add the volume in the docker-compose.yml file. -Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.11.5-release/docker-compose.yml) . +Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.12.2-release/docker-compose.yml) . ```commandline version: "3.9" @@ -48,7 +48,7 @@ services: postgresql: ... volumes: - - /opt/openmetadata/db:/var/lib/postgresql + - /opt/openmetadata/db:/var/lib/postgresql ... ``` @@ -59,7 +59,7 @@ Following are the changes we have to do while mounting the directory for ingesti mkdir -p /opt/openmetadata/dag_config /opt/openmetadata/dags /opt/openmetadata/secrets ``` - Update or add the volume in the docker-compose.yml file. -Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.11.5-release/docker-compose.yml) . +Open the file `docker-compose.yml` downloaded from the Release page [Link](https://github.com/open-metadata/OpenMetadata/releases/download/0.12.2-release/docker-compose.yml) . ```commandline version: "3.9" @@ -67,8 +67,8 @@ services: ingestion: ... volumes: - - /opt/openmetadata/dag_config:/airflow/dag_generated_configs - - /opt/openmetadata/dags:/ingestion/examples/airflow/dags + - /opt/openmetadata/dag_config:/opt/airflow/dag_generated_configs + - /opt/openmetadata/dags:/opt/airflow/dags - /opt/openmetadata/secrets:/tmp ... ``` @@ -80,20 +80,20 @@ version: "3.9" services: mysql: container_name: openmetadata_mysql - image: openmetadata/db:0.11.5 + image: openmetadata/db:0.12.2 restart: always environment: MYSQL_ROOT_PASSWORD: password expose: - 3306 volumes: - - /opt/openmetadata/db:/var/lib/mysql + - /opt/openmetadata/db:/var/lib/mysql networks: app_net: ipv4_address: 172.16.240.10 ingestion: container_name: openmetadata_ingestion - image: openmetadata/ingestion:0.11.5 + image: openmetadata/ingestion:0.12.2 depends_on: - mysql expose: @@ -107,8 +107,8 @@ services: - "localhost:172.16.240.11" - "localhost:172.16.240.13" volumes: - - /opt/openmetadata/dag_config:/airflow/dag_generated_configs - - /opt/openmetadata/dags:/ingestion/examples/airflow/dags + - /opt/openmetadata/dag_config:/opt/airflow/dag_generated_configs + - /opt/openmetadata/dags:/opt/airflow/dags - /opt/openmetadata/secrets:/tmp ```