mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
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:
parent
7ac39e23c9
commit
4c463b6c2f
2 changed files with 7 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
14
render.yaml
14
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: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue