Skip to content

Consider mounting Unix sockets for memcached and postgres #526

Open

Description

@jpmckinney

Unix sockets can easily be mounted as volumes e.g. /var/run/app.sock:/var/run/app.sock

Advantage: Arguably more secure (though external firewall is sufficient)

Disadvantage: Need to figure out correct permissions on the socket itself. Might end up being messier.

Not sure if worthwhile, but thought I'd open an issue to discuss.

Activity

  1. added this to the Priority milestone on Oct 4, 2024
  2. added
    services
    on Dec 4, 2025
  3. changed the title [-]Mount Unix sockets instead of listening on 0.0.0.0 for memcached and postgres?[/-] [+]Mount Unix sockets instead of listening on 0.0.0.0 for memcached, postgres, gunicorn?[/+] on Aug 5, 2026
  4. changed the title [-]Mount Unix sockets instead of listening on 0.0.0.0 for memcached, postgres, gunicorn?[/-] [+]Mount Unix sockets instead of listening on 0.0.0.0 for memcached, postgres?[/+] on Aug 6, 2026
  5. jpmckinney commented on Aug 6, 2026

    @jpmckinney
    MemberAuthor

    Restoring title - gunicorn's socket is for a control interface.

  6. jpmckinney commented on Aug 28, 2026

    @jpmckinney
    MemberAuthor

    Using socket for Redis on corporate website (manually configured via wp-config.php).

  7. changed the title [-]Mount Unix sockets instead of listening on 0.0.0.0 for memcached, postgres?[/-] [+]Consider mounting Unix sockets for memcached and postgres[/+] on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionservices

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions