Coder Social home page Coder Social logo

redis's Introduction

The official repository for Running Redis on Fly.io. Find the accompanying Docker image at flyio/redis.

Usage

This installation requires setting a password on Redis. To do that, run fly secrets set REDIS_PASSWORD=mypassword before deploying. Keep track of this password - it won't be visible again after deployment!

If you need no customizations, you can deploy using the official Docker image. See fly.toml in this repository for an example to get started with.

Runtime requirements

By default, this Redis installation will only accept connections on the private IPv6 network, on the standard port 6379.

If you want to access it from the public internet, add a [[services]] section to your fly.toml. An example is included in this repo for accessing Redis on port 10000.

We recommend adding persistent storage for Redis data. If you skip this step, data will be lost across deploys or restarts. For Fly apps, the volume needs to be in the same region as the app instances. For example:

flyctl volumes create redis_server --region ord
      Name: redis_server
    Region: ord
   Size GB: 10
Created at: 02 Nov 20 19:55 UTC

To connect this volume to the app, fly.toml includes a [mounts] entry.

[mounts]
source      = "redis_server"
destination = "/data"

When the app starts, that volume will be mounted on /data.

Cutting a release

If you have write access to this repo, you can ship a prerelease or full release with:

scripts/bump_version.sh

or

scripts/bump_version.sh prerel

redis's People

Contributors

jsierles avatar tvdfly avatar codepope avatar benwaffle avatar btoews avatar mrkurt avatar osamaqarem avatar carlosflorencio avatar matt-yorkley avatar tvd0x2a 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.