Docker Compose Failed to configure a DataSource in Spring Boot Microservices
16 views
Skip to first unread message
Sercan Noyan Germiyanoglu
unread,
Aug 2, 2022, 6:21:17 PM8/2/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to docker-dev
I have a problem about defining database in some services in my Spring Boot Microservice example. When I run docker-compose.yml file through this command (docker-compose up -d), I have a datasource issue in **user service**, **advertisement service** and lastly **report service**.
All these services have their own **database** defined in their own **properties** file under configuration folder of **config server**.
Here is the **database** part of **docker-compose.yml**