Service "seadoc" depends on undefined service "db": invalid compose project

now when i do : docker compose up -d,

it shows : service “seadoc” depends on undefined service “db”: invalid compose project.

What to do ?

Luca

The seadoc container definition contains a section that says docker shouldn’t start it until the database service is up and running. It looks like this:

    depends_on:
      db:
        condition: service_healthy

If you needed to change that section to get seafile running you will need to make the same change in this file for seadoc.