Coder Social home page Coder Social logo

hofsys / redis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from render-examples/redis

0.0 1.0 0.0 44 KB

Persistent Redis as a private Docker service on Render

Home Page: https://render.com/docs/deploy-redis

License: MIT License

Dockerfile 100.00%

redis's Introduction

Redis on Render

This is an example repo with a Dockerfile for running a Redis cache with persistence as a private service on Render.

Render private services are only visible to other Render services in your account. They have internal URLs (e.g. redis:6379), can speak any protocol (like RESP), and can listen on any port.

Backing Redis with a disk makes it resilient to data loss in the case of restarts or deploys, and Render makes this easy to do with Render Disks.

Deployment

One Click Deploy

Use the button below to deploy a persistent Redis instance on Render.

Deploy to Render

Manual Deployment

  1. Select New Private Service on your Render dashboard and use your fork of this repo to create the service.

  2. Make sure the Environment is set to Docker, and enter a name for the service (this will be used to generate the private URL).

  3. Add a new disk in the Advanced section. Give it a name and set the mount path to /var/lib/redis. You can also change the default size for your disk: 1 GB should be enough for small projects.

Click Save and you're good to go! Once deployed, your Redis instance will be available on a URL similar to redis:10000, and you can start using your Redis URL from other services in your Render account. Be sure to prepend redis:// to the URL displayed in your dashboard.

If you need help, you can always chat with us at https://render.com/chat.

redis's People

Contributors

aduong avatar anurag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.