craftcms / nitro

Speedy local dev environment for @craftcms.
https://getnitro.sh
MIT License
178 stars 24 forks source link

Minio service no longer works #445

Closed jasonmccallister closed 2 years ago

jasonmccallister commented 2 years ago

Description

The Minio image has a major breaking change and has split the API port and console port. They no longer allow running both the API and console port on the same address (e.g. 9000).

We need to update the nitro enable minio command to support this new change.

There is a work around for now by creating a docker-compose.yaml file and joining the nitro-network.

  1. Add a docker-compose.yaml with the following content in any location
  2. Run docker-compose up -d
  3. Follow the documentation on https://craftcms.com/docs/nitro/2.x/services/minio.html
  4. Use the username and password minioadmin.
version: "3.7"
services:
  minio.service.nitro:
    image: minio/minio:latest
    ports:
      - 9001:9001
    networks:
      - nitro-network
    command:
      - server
      - /data
      - --console-address=:9001
networks:
  nitro-network:
    external: true

Steps to reproduce

  1. nitro enable minio - using the latest tag
  2. Visit https://minio.service.nitro and :(

Additional info

jasonmccallister commented 2 years ago

Hi, we are closing this issue as we have decided to retire Nitro, so no additional work will occur on this project. You can read the official blog post here https://craftcms.com/blog/retiring-craft-nitro. We appreciate everyones feedback and involvement and we look forward to refocusing our efforts on Cloud!

If you're looking for a new local development environment, we recommend DDEV and have a knowledge base article to help you with the transition: https://craftcms.com/knowledge-base/migrating-from-craft-nitro-to-ddev.