caishunfeng commented on code in PR #10026:
URL: https://github.com/apache/dolphinscheduler/pull/10026#discussion_r873142202


##########
deploy/docker/docker-compose.yml:
##########
@@ -51,6 +55,7 @@ services:
   dolphinscheduler-schema-initializer:
     image: ${HUB}/dolphinscheduler-tools:${TAG}
     env_file: .env
+    profiles: ["schema-init"]
     command: [ bin/create-schema.sh ]

Review Comment:
   > In `create/upgrade-schema.sh` will `source 
bin/env/dolphinscheduler-env.sh`. I think the `.env` file may not working in 
containers currently.
   
   I found that `source bin/env/dolphinscheduler-env.sh` in `upgrade-scheme.sh` 
will not work because there is no such script file. So the .env file works.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to