Make gateway host configurable via SERVER_HOST environment variable

This commit is contained in:
2025-06-29 18:50:30 +09:00
parent 41da04d681
commit d3389b0343
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ spring:
gateway:
routes:
- id: server
uri: http://localhost:8081
uri: http://${SERVER_HOST:localhost}:8081
predicates:
- Path=/api/**
filters: