MichaelPorter0 commented on issue #7088: URL: https://github.com/apache/dolphinscheduler/issues/7088#issuecomment-989548116
> 1. in docker-compose.yml set container_name to ds_postgresql or other fixed name. > 2. change 127.0.0.1:5432 in container to ds_postgresql:5432 in container of apache/dolphinscheduler:2.0.0 > 3. commit this container to images local. > 4. change image's tag in docker-compose.yml to new images. > > can work now > > 本质只要将镜像中conf/datasource.properties的spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/dolphinscheduler改为 spring.datasource.url=jdbc:postgresql://ds-postgresql:5432/dolphinscheduler ds-postgresql为定义的容器名 It seems to be effective, but a new problem has arisen  -- 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]
