Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docker compose healthchecks fail when DB is from external system. #936

@PJEstrada

Description

@PJEstrada

When users install diffgram from an external system, they get failed healtchecks on docker compose startup.

This is due to the depends_on section on the docker-compose.yaml

    depends_on:
      db:
        condition: service_healthy
      rabbitmq:
        condition: service_healthy
      db_migration:
        condition: service_completed_successfully

Since db is not working in this case, healthchecks fail. Preventing rest of containers to start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions