Skip to content

Commit

Permalink
add properties from env
Browse files Browse the repository at this point in the history
  • Loading branch information
dashaun committed Dec 19, 2023
1 parent 0bf7b8e commit 2e361bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ management.zipkin.tracing.endpoint=${ZIPKIN_ENDPOINT:http://localhost:9411/api/v

spring.mvc.problemdetails.enabled=true

spring.data.redis.host=${REDIS_HOST:localhost}
spring.data.redis.port=${REDIS_PORT:6379}
spring.data.redis.username=${REDIS_USERNAME:}
spring.data.redis.password=${REDIS_PASSWORD:}

#youtube.channel.id=${CHANNEL_ID:REPLACE_WITH_YOUR_CHANNEL_ID}
#youtube.listener.url=${LISTENER_URL:REPLACE_WITH_YOUR_URL}

0 comments on commit 2e361bb

Please sign in to comment.