Skip to content

Commit

Permalink
Add redis (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Jul 26, 2024
1 parent 503d10d commit 6471504
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.host}:${resources.redis.port},user=${resources.redis.username},password=${resources.redis.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 6471504

Please sign in to comment.