Skip to content

Commit

Permalink
Add dependant condition
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Nov 26, 2024
1 parent d625868 commit b15117f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/docker/docker-compose-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ services:
init_minio:
image: minio/mc
depends_on:
- minio
minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
mc alias set codepair http://minio:9000 minioadmin minioadmin --api S3v4;
Expand Down
3 changes: 2 additions & 1 deletion backend/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ services:
init_minio:
image: minio/mc
depends_on:
- minio
minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
mc alias set codepair http://minio:9000 minioadmin minioadmin --api S3v4;
Expand Down

0 comments on commit b15117f

Please sign in to comment.