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.
This commit is contained in:
Alan Côrtes 2022-10-21 01:38:34 -03:00 committed by GitHub
parent fe77f710a1
commit 80fe44b83b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```