Skip to content

Commit

Permalink
Use Render Redis service (#23056)
Browse files Browse the repository at this point in the history
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"
/>
  • Loading branch information
getvictor authored Jan 2, 2025
1 parent 7ac39e2 commit 4c463b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/Deploy/deploy-fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 6 additions & 8 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: []

0 comments on commit 4c463b6

Please sign in to comment.