Giter Site home page Giter Site logo

openshift-cartridge-memcached's Introduction

OpenShift Memcached Cartridge

This is modification of the original memcached cartridge provides Memcached on OpenShift, to install create your app and run:

rhc add-cartridge "https://raw.githubusercontent.com/YuriyPobezhymov/openshift-cartridge-memcached/master/metadata/manifest.yml" -a [APP]

It has some small changes to work with Red Hat OpenShift Online. The cartridge purpose to be used with PHP client memcache, that is installed when PHP application (I use PHP 5.4 cartridge for that) created with Red Hat OpenShift Online. Memcached system version is the most recent.

Environment Variables

The memcached cartridge provides following environment variables:

OPENSHIFT_MEMCACHED_HOST         The Memcached IP address
OPENSHIFT_MEMCACHED_PORT         The Memcached port
OPENSHIFT_MEMCACHED_USERNAME     Username (if auth enabled)
OPENSHIFT_MEMCACHED_PASSWORD     Password (if auth enabled)

SASL support disabled.

To setup how much memory memcached is allowed to use by settings user env var MEMCACHED_CACHESIZE:

rhc set-env MEMCACHED_CACHESIZE=128 --app $OPENSHIFT_APP_NAME"
rhc app-restart --app $OPENSHIFT_APP_NAME"

openshift-cartridge-memcached's People

Contributors

yuriypobezhymov 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.