Skip to content

Automatically restart local services tip :) #150

Open
@PrzeMazur95

Description

@PrzeMazur95

Hi!

I know from the course and from experience that when you only use docker compose to run your services locally, if some of them fail, even with healthcheck, they are not automatically replaced or restarted (as it happens with usage of Swarm). Here is an additional service we can add to our compose.yaml file to automate this. Hopefully this will solve some problems like mine from the past. Maybe it would be worth mentioning in future course updates :)

https://github.com/willfarrell/docker-autoheal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions