Skip to content

Commit

Permalink
Add redis (#141)
Browse files Browse the repository at this point in the history
* Add redis

* Fix REDIS_CONNECTION
  • Loading branch information
mathieu-benoit authored Jul 26, 2024
1 parent d3dac1c commit 0621dcc
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 0621dcc

Please sign in to comment.