* Added the named volumes for improvement

* Mapped the named volumes

* Updated the Named Volumes

* Updated the Volumes on top level

* Added the named volumes
This commit is contained in:
Vj-L 2022-05-03 14:19:31 +05:30 committed by GitHub
parent 7f323e5ecc
commit 2c7a327c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View File

@ -10,6 +10,10 @@
# limitations under the License.
version: "3.9"
volumes:
ingestion-volume-dag-airflow:
ingestion-volume-dags:
ingestion-volume-tmp:
services:
mysql:
build:
@ -132,7 +136,9 @@ services:
- "localhost:172.16.239.13"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ingestion-volume-dag-airflow:/airflow/dag_generated_configs
- ingestion-volume-dags:/airflow/dags
- ingestion-volume-tmp:/tmp
networks:
local_app_net:
name: ometa_network

View File

@ -10,6 +10,10 @@
# limitations under the License.
version: "3.9"
volumes:
ingestion-volume-dag-airflow:
ingestion-volume-dags:
ingestion-volume-tmp:
services:
mysql:
container_name: openmetadata_mysql
@ -112,6 +116,10 @@ services:
- "localhost:172.16.240.10"
- "localhost:172.16.240.11"
- "localhost:172.16.240.13"
volumes:
- ingestion-volume-dag-airflow:/airflow/dag_generated_configs
- ingestion-volume-dags:/airflow/dags
- ingestion-volume-tmp:/tmp
networks:
app_net:

View File

@ -36,5 +36,8 @@ RUN cp -r /om-airflow/plugins /airflow/plugins
RUN cp -r /om-airflow/plugins/dag_templates /airflow/
RUN mkdir -p /airflow/dag_generated_configs
RUN chmod 755 ingestion_dependency.sh
VOLUME ingestion-volume-dag-airflow:/airflow/dag_generated_configs
VOLUME ingestion-volume-dags:/airflow/dags
VOLUME ingestion-volume-tmp:/tmp
EXPOSE 8080
CMD [ "./ingestion_dependency.sh" ]