mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-29 18:58:05 +08:00
[deploy] Add datasource driver name into env (#8100)
Co-authored-by: caishunfeng <534328519@qq.com>
This commit is contained in:
parent
f1a0215978
commit
1038e6bf24
1
script/env/dolphinscheduler_env.sh
vendored
1
script/env/dolphinscheduler_env.sh
vendored
@ -29,6 +29,7 @@ export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME/bin:
|
||||
|
||||
export DATABASE=${DATABASE:-postgresql}
|
||||
export SPRING_PROFILES_ACTIVE=${DATABASE}
|
||||
export SPRING_DATASOURCE_DRIVER_CLASS_NAME
|
||||
export SPRING_DATASOURCE_URL
|
||||
export SPRING_DATASOURCE_USERNAME
|
||||
export SPRING_DATASOURCE_PASSWORD
|
||||
|
Loading…
Reference in New Issue
Block a user