Skip to content

Allow socket for both postgres and redis server #71

@zleppy

Description

@zleppy

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Both redis and postgres can use sockets for the connection.

Redis config:
redis via --unixsocket /run/valkey.sock --unixsocketperm 777

Netbox config:
REDIS = {
'tasks': {
'URL': 'unix:///run/redis-netbox/redis.sock?db=0'
},
'caching': {
'URL': 'unix:///run/redis-netbox/redis.sock?db=1'
},
}

is this config supported by this image or should it be stated in the config howto do it?

Reason for change

Unix sockets give a great performance boost when configured you can also skip creating a internal network just for the back end containers in the stack.

Proposed code change

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions