Skip to content

Horizon needs Redis available to startΒ #58

@holysoles

Description

@holysoles

Horizon requires Redis/Valkey being available to start properly. This can fail during initial deployment

[2025-01-25 05:51:24] production.ERROR: Connection refused [tcp://valkey-primary:6379] {"exception":"[object] (Predis\\Connection\\ConnectionException(code: 111): Connection refused [tcp://valkey-primary:6379] at /var/www/vendor/predis/predis/src/Connection/AbstractConnection.php:144)

When pixelfed is deployed in a single pod, this is problematic since Horizon exits, but the rest of the pod continues to run (I think this is because of the CMD script of the container?)

When pixelfed is deployed with a separate worker pod, this is less problematic, but the pod will restart a few times.

Not sure of the best solution right now, but figured I'd document this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions