Skip to content

Docker swarm mode #568

@OffsetMonkey538

Description

@OffsetMonkey538

I'd like to host the bot in my homelab where I use docker swarm mode. I have a NAS machine for storage and a compute machine for... compute. I need to use swarm mode, because then I can tell it to host any sort of databases on the nas machine and then the compute machine can communicate with it through docker networking stuff.

The problem is that docker swarm mode doesn't support the depends_on attribute, while zeppelin seems to need the tasks to be executed in the correct order. I'm guessing that starting the bot and having it access the database before migration is done is a bad idea?

Not exactly sure about a solution. Usually services just retry until for example a database is available, but in this case it needs to wait until another task is done.

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