message: Add minio container to mock s3
diff: @@ -4,6 +4,7 @@ services:
  build: .
  depends_on:
  - db
  + - s3
  ports:
  - "3000:3000"
  volumes:
  @@ -13,6 +14,9 @@ services:
  environment:
  CRATESFYI_RUSTWIDE_WORKSPACE: /opt/docsrs/rustwide
  CRATESFYI_DATABASE_URL: postgresql://cratesfyi:password@db
  + S3_ENDPOINT: http://s3:9000
  + AWS_ACCESS_KEY_ID: cratesfyi
  + AWS_SECRET_ACCESS_KEY: secret_key
  env_file:
  - .env
  db:
  @@ -22,6 +26,17 @@ services:
  environment:
  POSTGRES_USER: cratesfyi
  POSTGRES_PASSWORD: password
  + s3:
  + image: minio/minio
  + command: server /data
  + ports:
  + - "9000:9000"
  + volumes:
  + - minio-data:/data
  + environment:
  + MINIO_ACCESS_KEY: cratesfyi
  + MINIO_SECRET_KEY: secret_key
  volumes:
  postgres-data: {}
  + minio-data: {}
  cratesio-index: {}
  