mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-14 20:17:05 +00:00
parent
adcc8297a0
commit
06b2f70e3e
@ -1,6 +1,6 @@
|
||||
FROM openjdk:11
|
||||
|
||||
EXPOSE 8585 3306
|
||||
EXPOSE 8585
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install --no-install-recommends wget -y && \
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
version: "3.9"
|
||||
services:
|
||||
db:
|
||||
mysql:
|
||||
platform: linux/x86_64
|
||||
image: mysql:latest
|
||||
restart: always
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
version: "3.9"
|
||||
services:
|
||||
db:
|
||||
mysql:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile_mysql
|
||||
@ -55,7 +55,7 @@ services:
|
||||
ports:
|
||||
- 8585:8585
|
||||
depends_on:
|
||||
- db
|
||||
- mysql
|
||||
networks:
|
||||
app_net:
|
||||
ipv4_address: 172.16.239.13
|
||||
@ -68,7 +68,7 @@ services:
|
||||
context: ../../.
|
||||
dockerfile: ingestion/Dockerfile
|
||||
depends_on:
|
||||
- db
|
||||
- mysql
|
||||
expose:
|
||||
- 8080
|
||||
ports:
|
||||
|
@ -15,7 +15,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
while ! wget -O /dev/null -o /dev/null localhost:3306; do sleep 5; done
|
||||
while ! wget -O /dev/null -o /dev/null mysql:3306; do sleep 5; done
|
||||
mv /openmetadata.yaml /openmetadata-*/conf/openmetadata.yaml
|
||||
cd /openmetadata-*/
|
||||
./bootstrap/bootstrap_storage.sh migrate
|
||||
|
@ -112,7 +112,7 @@ database:
|
||||
user: openmetadata_user
|
||||
password: openmetadata_password
|
||||
# the JDBC URL; the database is called openmetadata_db
|
||||
url: jdbc:mysql://localhost/openmetadata_db?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
|
||||
url: jdbc:mysql://mysql:3306/openmetadata_db?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
|
||||
|
||||
|
||||
elasticsearch:
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM openjdk:11
|
||||
|
||||
EXPOSE 8585 3306
|
||||
EXPOSE 8585
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install --no-install-recommends curl wget -y && \
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
version: "3.9"
|
||||
services:
|
||||
db:
|
||||
mysql:
|
||||
platform: linux/x86_64
|
||||
image: openmetadata/db:latest
|
||||
restart: always
|
||||
@ -49,7 +49,7 @@ services:
|
||||
ports:
|
||||
- 8585:8585
|
||||
depends_on:
|
||||
- db
|
||||
- mysql
|
||||
networks:
|
||||
app_net:
|
||||
ipv4_address: 172.16.239.13
|
||||
@ -60,7 +60,7 @@ services:
|
||||
ingestion:
|
||||
image: openmetadata/ingestion:latest
|
||||
depends_on:
|
||||
- db
|
||||
- mysql
|
||||
expose:
|
||||
- 8080
|
||||
ports:
|
||||
|
@ -16,7 +16,7 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
while ! wget -O /dev/null -o /dev/null localhost:3306; do sleep 5; done
|
||||
while ! wget -O /dev/null -o /dev/null mysql:3306; do sleep 5; done
|
||||
cp /openmetadata.yaml /openmetadata-*/conf/openmetadata.yaml
|
||||
cd /openmetadata-*/
|
||||
./bootstrap/bootstrap_storage.sh migrate
|
||||
|
@ -112,7 +112,7 @@ database:
|
||||
user: openmetadata_user
|
||||
password: openmetadata_password
|
||||
# the JDBC URL; the database is called openmetadata_db
|
||||
url: jdbc:mysql://localhost/openmetadata_db?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
|
||||
url: jdbc:mysql://mysql:3306/openmetadata_db?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
|
||||
|
||||
|
||||
elasticsearch:
|
||||
|
@ -9,4 +9,5 @@ RUN pip install 'openmetadata-ingestion[sample-data,elasticsearch,mysql]' apache
|
||||
COPY ./ingestion /ingestion
|
||||
RUN pip install '.[sample-data,elasticsearch,mysql]'
|
||||
RUN chmod 755 ingestion_dependency.sh
|
||||
EXPOSE 8080
|
||||
CMD [ "./ingestion_dependency.sh" ]
|
||||
|
@ -27,7 +27,7 @@ executor = LocalExecutor
|
||||
# SqlAlchemy supports many different database engines.
|
||||
# More information here:
|
||||
# http://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html#database-uri
|
||||
sql_alchemy_conn = mysql+pymysql://airflow_user:airflow_pass@localhost/airflow_db
|
||||
sql_alchemy_conn = mysql+pymysql://airflow_user:airflow_pass@mysql/airflow_db
|
||||
|
||||
# The encoding for the databases
|
||||
sql_engine_encoding = utf-8
|
||||
|
@ -16,7 +16,7 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
while ! wget -O /dev/null -o /dev/null localhost:3306; do sleep 5; done
|
||||
while ! wget -O /dev/null -o /dev/null mysql:3306; do sleep 5; done
|
||||
export AIRFLOW_HOME=/airflow
|
||||
airflow db init
|
||||
echo "AUTH_ROLE_PUBLIC = 'Admin'" >> /airflow/webserver_config.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user