Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow redis to be used over a UNIX socket #1602

Merged
merged 19 commits into from Aug 13, 2019

Conversation

trwnh
Copy link
Member

@trwnh trwnh commented Aug 13, 2019

to use a socket, set this in .env:

REDIS_SCHEME=unix
REDIS_PATH=/path/to/redis.sock

Redis socket can be defined in /etc/redis.conf:

port 0    # this disables tcp listening for redis
unixsocket /run/redis/redis.sock
unixsocket 770

add users to redis group to give them access to redis, e.g.

sudo usermod -aG redis {pixelfed,http}

dansup and others added 19 commits August 9, 2019 13:34
@trwnh trwnh added ⚙️ Deployment Related to specific deployments or configurations ➕Enhancement New feature or request labels Aug 13, 2019
@trwnh trwnh requested a review from dansup August 13, 2019 07:39
@dansup dansup changed the base branch from dev to frontend-ui-refactor August 13, 2019 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Deployment Related to specific deployments or configurations ➕Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants