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. - 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 ### Instructions

View file

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