We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bec783 commit 24cca96Copy full SHA for 24cca96
1 file changed
src/main/resources/application-swagger.properties
@@ -4,8 +4,8 @@ spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
4
spring.jpa.hibernate.ddl-auto=create-drop
5
6
# Disable Redis if not needed for docs (optional)
7
-spring.data.redis.host=localhost
8
-spring.data.redis.port=6379
+spring.data.redis.host=${REDIS_HOST:localhost}
+spring.data.redis.port=${REDIS_PORT:6379}
9
10
# CORS for Swagger UI
11
cors.allowed-origins=${CORS_ALLOWED_ORIGINS:http://localhost:9090,http://localhost:8080}
0 commit comments