Skip to content

Feature: Connect with postgres Socket #3912

@FloTheSysadmin

Description

@FloTheSysadmin

Related to

Database

Impact

nice to have

Missing Feature

There is no point in forcing the Database connection to use TCP if the DB is on the same host.
It could slightly imrprove performance & security and would avoid firewall rules & NIC overhead.

nc: bad address '/run/postgresql'

Implementation

Seems like netcat is checking if the value of "SEMAPHORE_DB_HOST" points to a TCP-Socket. Allow this to be a Unix Socket file. Maybe use socat?

Design

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions