Since both of your apps are running in container now, your database won't be accessible at 127.0.0.1
anymore. You should use the name of the service (from docker compose) instead.
Try changing the datasource url to
spring.datasource.url=jdbc:mysql://mysqldb:3306/task_adc