Skip to content

Commit

Permalink
Add redis
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit committed Jul 26, 2024
1 parent d3dac1c commit 1cd9d3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion score/score.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ containers:
memory: "64Mi"
cpu: "25m"
variables:
MESSAGE: "Hello, World!"
MESSAGE: "Hello, Redis!"
REDIS_CONNECTION: "${resources.redis-cart.host}:${resources.redis-cart.port},user=${resources.redis-cart.username},password=${resources.redis-cart.password}"
resources:
dns:
type: dns
Expand All @@ -22,6 +23,8 @@ resources:
host: ${resources.dns.host}
path: /
port: 8080
redis:
type: redis
service:
ports:
tcp:
Expand Down

0 comments on commit 1cd9d3c

Please sign in to comment.