Use Render Redis service (#23056)

Use Render's Redis service in `render.yaml`

Successfully deployed on Render:
<img width="1009" alt="image"
src="https://github.com/user-attachments/assets/fdb79286-3336-4747-97c0-b75c7578c0e8"
/>
This commit is contained in:
Victor Lyuboslavsky 2025-01-02 10:07:54 -06:00 committed by GitHub
parent 7ac39e23c9
commit 4c463b6c2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 9 deletions

View file

@ -35,7 +35,7 @@ Render is a cloud hosting service that makes it easy to get up and running fast,
- A Render account with payment information.
>The Fleet Render Blueprint will provision a web service, a MySQL database, and a Redis in-memory data store. At current pricing this will total **$62/month**.
>The Fleet Render Blueprint will provision a web service, a MySQL database, and a Redis in-memory data store. At current pricing this will total **$65/month**.
### Instructions

View file

@ -39,8 +39,8 @@ services:
- key: FLEET_REDIS_ADDRESS
fromService:
name: fleet-redis
type: pserv
property: hostport
type: redis
property: connectionString
- key: FLEET_SERVER_TLS
value: 'false'
- key: PORT
@ -66,9 +66,7 @@ services:
value: fleet
- name: fleet-redis
plan: starter
type: pserv
runtime: image
image:
url: 'redis:7.2.4'
plan: starter # May use free plan for testing or short-lived deployments
type: redis
maxmemoryPolicy: allkeys-lru
ipAllowList: []