Open cer opened 4 years ago
what might be the reason to not connect to the database? I've faced this problem. Can't figure it out.
Is there any configuration (e.g. docker-compose file) that could help investigate the issue?
@dartartem Thanks for the quick response. Since I have copied and pasted cdc-service from example projects, I just found out that the cdc-service was not on the same network with my MySQL. I just added
networks:
- my-network
to CDC service. It worked.
For example:
SPRING_DATASOURCE_URL: jdbc:mysql://localhost:3306/eventuate
This is the tail of the log:
Note:
HikariPool-1 - Starting...
From this point on, there are no further log entries and the health check endpoint fails:
The container is unhealthy but can't tell you why.
Not sure what to do? Initialize everything in the background?