mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-08 15:04:29 +00:00
* 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:
parent
7f323e5ecc
commit
2c7a327c6b
@ -10,6 +10,10 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
version: "3.9"
|
version: "3.9"
|
||||||
|
volumes:
|
||||||
|
ingestion-volume-dag-airflow:
|
||||||
|
ingestion-volume-dags:
|
||||||
|
ingestion-volume-tmp:
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
build:
|
build:
|
||||||
@ -132,7 +136,9 @@ services:
|
|||||||
- "localhost:172.16.239.13"
|
- "localhost:172.16.239.13"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /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:
|
networks:
|
||||||
local_app_net:
|
local_app_net:
|
||||||
name: ometa_network
|
name: ometa_network
|
||||||
|
|||||||
@ -10,6 +10,10 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
version: "3.9"
|
version: "3.9"
|
||||||
|
volumes:
|
||||||
|
ingestion-volume-dag-airflow:
|
||||||
|
ingestion-volume-dags:
|
||||||
|
ingestion-volume-tmp:
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
container_name: openmetadata_mysql
|
container_name: openmetadata_mysql
|
||||||
@ -112,6 +116,10 @@ services:
|
|||||||
- "localhost:172.16.240.10"
|
- "localhost:172.16.240.10"
|
||||||
- "localhost:172.16.240.11"
|
- "localhost:172.16.240.11"
|
||||||
- "localhost:172.16.240.13"
|
- "localhost:172.16.240.13"
|
||||||
|
volumes:
|
||||||
|
- ingestion-volume-dag-airflow:/airflow/dag_generated_configs
|
||||||
|
- ingestion-volume-dags:/airflow/dags
|
||||||
|
- ingestion-volume-tmp:/tmp
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
app_net:
|
app_net:
|
||||||
|
|||||||
@ -36,5 +36,8 @@ RUN cp -r /om-airflow/plugins /airflow/plugins
|
|||||||
RUN cp -r /om-airflow/plugins/dag_templates /airflow/
|
RUN cp -r /om-airflow/plugins/dag_templates /airflow/
|
||||||
RUN mkdir -p /airflow/dag_generated_configs
|
RUN mkdir -p /airflow/dag_generated_configs
|
||||||
RUN chmod 755 ingestion_dependency.sh
|
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
|
EXPOSE 8080
|
||||||
CMD [ "./ingestion_dependency.sh" ]
|
CMD [ "./ingestion_dependency.sh" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user