FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(compose): run MinIO from the image the test fixture uses by dimitri-yatsenko · Pull Request #1608 · datajoint/datajoint-python · GitHub

Repository navigation

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yaml  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
15 changes: 7 additions & 8 deletions docker-compose.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,18 @@ services:
retries: 5
interval: 15s
minio:
image: minio/minio:${MINIO_VER:-RELEASE.2025-02-28T09-55-16Z}
# Same image as the minio_container fixture in tests/conftest.py, and the
# same override variable: MinIO no longer publishes minio/minio. This image
# has no curl, so the healthcheck uses its bundled mc client.
image: ${DJ_TEST_MINIO_IMAGE:-cgr.dev/chainguard/minio:latest}
environment:
- MINIO_ACCESS_KEY=datajoint
- MINIO_SECRET_KEY=datajoint
- MINIO_ROOT_USER=datajoint
- MINIO_ROOT_PASSWORD=datajoint
ports:
- "9000:9000"
command: server --address ":9000" /data
healthcheck:
test:
- "CMD"
- "curl"
- "--fail"
- "http://localhost:9000/minio/health/live"
test: [ "CMD", "mc", "ready", "local" ]
timeout: 30s
retries: 5
interval: 15s
Expand Down
Loading

Back | FazBrowse Home | New Git URL