Skip to content

Slight change to docker compose file for slower systems #3

@daronhudson

Description

@daronhudson

Hello, I've been running some tests on my home server with power configurations recently. I noticed that the bot and worker would crash because the clamav server wouldn't be up when it expected it if my server was on low power mode.

You can add something along the lines of:

    depends_on:
      clamshell_server:
        condition: service_healthy

To both the bot and worker containers to ensure that they both always come up as expected. It definitely increases the startup time of the entire service by a tiny bit, but it guarantees it'll be up every time.

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