Microservice worked.
Add projects module by module to the editor. You can then run it one by one.
Created image:
- first-service-eureka> docker build -t spring7-boot-docker-postgres .
Run image with compose:
- first-service-eureka> docker-compose up
-
Postgresql connection info:
- hostname: postgres
- ports: 5432
- Username: postgres
- pw: postgres
-
first-service:
- application.name: application-service
- port: 8081
- image name: spring7-boot-docker-postgres
-
second-service:
- application.name: sms-service
- port: 8082
-
gateway-service:
- application.name: gateway-service
- port: 8080
http://localhost:8080/{application-name}/{requestmapping-name}