Skip to content

Commit

Permalink
Frontend pods now wait for the migrator to complete (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugustus-sourcegraph authored Mar 16, 2022
1 parent 1ac844e commit 58fbd83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ services:
condition: service_healthy
codeintel-db:
condition: service_healthy
migrator:
condition: service_completed_successfully

# Description: Stores clones of repositories to perform Git operations.
#
Expand Down

1 comment on commit 58fbd83

@jramosf
Copy link

@jramosf jramosf commented on 58fbd83 Mar 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@caugustus-sourcegraph The docs need to be changed to use newer docker-compose which allows this condition:

https://github.com/docker/compose/releases/tag/1.29.0 at least, https://docs.sourcegraph.com/admin/install/docker-compose/aws is currently specifying 1.25 which doesn't support this.

Filed https://github.com/sourcegraph/sourcegraph/pull/32825

Please sign in to comment.