From 4c463b6c2fc259c08e731570dd96bc2ef969e15d Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Thu, 2 Jan 2025 10:07:54 -0600 Subject: [PATCH] Use Render Redis service (#23056) Use Render's Redis service in `render.yaml` Successfully deployed on Render: image --- docs/Deploy/deploy-fleet.md | 2 +- render.yaml | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/Deploy/deploy-fleet.md b/docs/Deploy/deploy-fleet.md index a071398642d2..c76daf3e077c 100644 --- a/docs/Deploy/deploy-fleet.md +++ b/docs/Deploy/deploy-fleet.md @@ -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 diff --git a/render.yaml b/render.yaml index 11d6a1949975..22c59b3ee920 100644 --- a/render.yaml +++ b/render.yaml @@ -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: []