0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

minio+ssl+docker-compose エラーにならないコンソールURLの設定方法

Posted at
docker-compose.yml
  minio:
    image: minio/minio:latest
    container_name: minio
    environment:
      MINIO_ROOT_USER: admin
      MINIO_ROOT_PASSWORD: password
      MINIO_SERVER_URL: https://localhost:9000
    command: server --address :9000 --console-address :9001 /data
    volumes:
      - ../certs:/root/.minio/certs #localhostで有効な証明書置き場
    ports:
      - 9000:9000
      - 9001:9001

ポイント

MINIO_SERVER_URLを指定しないと、以下のURL以外ではコンソールアクセスが
Post "https://172.18.0.3:9000/": x509: cannot validate certificate for 172.18.0.3 because it doesn't contain any IP SANsというエラーになってしまう。

minio    | API: https://172.18.0.3:9000  https://127.0.0.1:9000 
minio    | Console: https://172.18.0.3:9001 https://127.0.0.1:9001 
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?