Skip to content

Commit

Permalink
Merge pull request #1531 from dandi/enh-docker-compose
Browse files Browse the repository at this point in the history
tests: update tests docker-compose with few changes from dandi-archive
  • Loading branch information
yarikoptic authored Nov 23, 2024
2 parents fd3f5e6 + 114e6a7 commit 3940aa2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dandi/tests/data/dandiarchive-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ services:
hard: 3000

minio:
image: minio/minio:RELEASE.2022-04-12T06-55-35Z
image: minio/minio:latest
# When run with a TTY, minio prints credentials on startup
tty: true
command: ["server", "/data"]
ports:
- "127.0.0.1:9000:9000"
environment:
MINIO_ACCESS_KEY: minioAccessKey
MINIO_SECRET_KEY: minioSecretKey
MINIO_ROOT_USER: minioAccessKey
MINIO_ROOT_PASSWORD: minioSecretKey
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 7s
Expand All @@ -94,6 +94,7 @@ services:
POSTGRES_DB: django
POSTGRES_PASSWORD: postgres
image: postgres
command: postgres -c log_lock_waits=on -c log_min_duration_statement=100
expose:
- "5432"
healthcheck:
Expand Down

0 comments on commit 3940aa2

Please sign in to comment.