application.properties
spring.main.web-application-type=reactive
server.port=8080
logging.level.org.springframework.cloud.gateway=DEBUG
spring.cloud.gateway.server.webflux.routes[0].id=auth-service
spring.cloud.gateway.server.webflux.routes[0].uri=http://localhost:8081
spring.cloud.gateway.server.webflux.routes[0].predicates[0]=Path=/api/v1/auth/**
spring.cloud.gateway.server.webflux.routes[1].id=user-service
spring.cloud.gateway.server.webflux.routes[1].uri=http://localhost:8082
spring.cloud.gateway.server.webflux.routes[1].predicates[0]=Path=/api/v1/users/**
spring.cloud.gateway.server.webflux.routes[2].id=product-service
spring.cloud.gateway.server.webflux.routes[2].uri=http://localhost:8083
spring.cloud.gateway.server.webflux.routes[2].predicates[0]=Path=/api/v1/products/**
spring.cloud.gateway.server.webflux.routes[3].id=payment-service
spring.cloud.gateway.server.webflux.routes[3].uri=http://localhost:8084
spring.cloud.gateway.server.webflux.routes[3].predicates[0]=Path=/api/v1/payments/**
jwt.access.secret=iDGuH1gTPEAdwr644qWNs7AWwWSi6qiRoHbPbNqdDYgba3XRUZs7Mlw1krzkz0SF4qypIbBCmTqFKOsuNBW9hQ==
application.properties
spring.application.name=auth-service
#spring.profiles.include=local
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.database=mysql
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
spring.datasource.url=jdbc:mysql://localhost:3306/oliveyoung_fbu
#spring.datasource.url=jdbc:mysql://host.docker.internal:3306/oliveyoung_fbu
spring.datasource.username=root
spring.datasource.password=6235
server.port=8081
jwt.access.secret=iDGuH1gTPEAdwr644qWNs7AWwWSi6qiRoHbPbNqdDYgba3XRUZs7Mlw1krzkz0SF4qypIbBCmTqFKOsuNBW9hQ==
jwt.refresh.secret=g144djQiICVIPbmW8ZdARDDTwcTDXPFaDyA6Ih1oalEDJmyAuYKbEu84uEua5CKCDU9FHGo5BYRPtLAMaQI3hA==
jwt.access.expiration=5184000000
jwt.refresh.expiration=15552000000
application-local.properties
user-service.url=http://localhost:8082
application-k8s.properties
user-service.url= <http://user-service:8080>