feat: add gateway-service (Spring Cloud Gateway + Consul)
This commit is contained in:
15
gateway-service/src/main/resources/application-prod.yml
Normal file
15
gateway-service/src/main/resources/application-prod.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
spring:
|
||||
cloud:
|
||||
consul:
|
||||
host: ${CONSUL_HOST:consul}
|
||||
port: ${CONSUL_PORT:8500}
|
||||
|
||||
gateway:
|
||||
cors:
|
||||
allowed-origins: ${CORS_ORIGINS:https://balexvic.com}
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: WARN
|
||||
com.posthub.gateway: INFO
|
||||
org.springframework.cloud.gateway: WARN
|
||||
Reference in New Issue
Block a user