|
|
|
@ -77,8 +77,6 @@ $ DOLPHINSCHEDULER_VERSION=3.0.0-beta-1
|
|
|
|
|
# Initialize the database, make sure database <DATABASE> already exists |
|
|
|
|
$ docker run -d --name dolphinscheduler-tools \ |
|
|
|
|
-e DATABASE="postgresql" \ |
|
|
|
|
# Use "com.mysql.cj.jdbc.driver" if you use MySQL |
|
|
|
|
-e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \ |
|
|
|
|
-e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/<DATABASE>" \ |
|
|
|
|
-e SPRING_DATASOURCE_USERNAME="<USER>" \ |
|
|
|
|
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \ |
|
|
|
@ -87,7 +85,6 @@ $ docker run -d --name dolphinscheduler-tools \
|
|
|
|
|
# Starting DolphinScheduler service |
|
|
|
|
$ docker run -d --name dolphinscheduler-master \ |
|
|
|
|
-e DATABASE="postgresql" \ |
|
|
|
|
-e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \ |
|
|
|
|
-e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/dolphinscheduler" \ |
|
|
|
|
-e SPRING_DATASOURCE_USERNAME="<USER>" \ |
|
|
|
|
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \ |
|
|
|
@ -96,7 +93,6 @@ $ docker run -d --name dolphinscheduler-master \
|
|
|
|
|
-d apache/dolphinscheduler-master:"${DOLPHINSCHEDULER_VERSION}" |
|
|
|
|
$ docker run -d --name dolphinscheduler-worker \ |
|
|
|
|
-e DATABASE="postgresql" \ |
|
|
|
|
-e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \ |
|
|
|
|
-e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/dolphinscheduler" \ |
|
|
|
|
-e SPRING_DATASOURCE_USERNAME="<USER>" \ |
|
|
|
|
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \ |
|
|
|
@ -105,7 +101,6 @@ $ docker run -d --name dolphinscheduler-worker \
|
|
|
|
|
-d apache/dolphinscheduler-worker:"${DOLPHINSCHEDULER_VERSION}" |
|
|
|
|
$ docker run -d --name dolphinscheduler-api \ |
|
|
|
|
-e DATABASE="postgresql" \ |
|
|
|
|
-e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \ |
|
|
|
|
-e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/dolphinscheduler" \ |
|
|
|
|
-e SPRING_DATASOURCE_USERNAME="<USER>" \ |
|
|
|
|
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \ |
|
|
|
@ -114,7 +109,6 @@ $ docker run -d --name dolphinscheduler-api \
|
|
|
|
|
-d apache/dolphinscheduler-api:"${DOLPHINSCHEDULER_VERSION}" |
|
|
|
|
$ docker run -d --name dolphinscheduler-alert-server \ |
|
|
|
|
-e DATABASE="postgresql" \ |
|
|
|
|
-e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \ |
|
|
|
|
-e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/dolphinscheduler" \ |
|
|
|
|
-e SPRING_DATASOURCE_USERNAME="<USER>" \ |
|
|
|
|
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \ |
|
|
|
|