Giter Site home page Giter Site logo

iocage-redis-plugin's Introduction

iocage-redis-plugin

Plugin for easily running an instance of Redis in TrueNAS

Installation

fetch https://raw.githubusercontent.com/kennedyoliveira/iocage-redis-plugin/master/redis-manifest.json
sudo iocage fetch --plugin-name redis-manifest.json --name redis ip4_addr="interface|IPaddress"

Defaults

Database location: /usr/local/redis/data Configuration location: /usr/local/redis/redis.conf

iocage-redis-plugin's People

Contributors

kennedyoliveira avatar

Watchers

 avatar  avatar

Forkers

consoleaf luokery

iocage-redis-plugin's Issues

Activate the unixsocket for redis

Please consider to activate the unixsocket for redis in a dedicated directory.

You could do that by adding following lines to post_install.sh
mkdir /run/redis
chown redis:redis /run/redis
sed -i '' 's#^.*unixsocket .*$#unixsocket /run/redis/redis.sock#' /usr/local/etc/redis.conf
sed -i '' 's#^.*unixsocketperm .*$#unixsocketperm 777#' /usr/local/etc/redis.conf

Sockets are faster than the connection over TCP and can be used via mount in other jails:
iocage fstab -a nextcloud /mnt/pool/iocage/jails/redis/root/run/redis/ /run/redis nullfs ro 0 0

Use redis version from ports

This plugin is compiling the redis version 6.4.2, however redis-6.2.6 as well as redis-7.0.0 (redis-devel-7.0.0.20211005) is available via pkg.

Consider updating to the version from pkg.

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.