render-examples / minio

MinIO on Render

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deploy to render does not work

anuaimi opened this issue · comments

when I deploy this repo to render, the docker contain but is not accessible from a browser. the following log messages are in the console

Dec 9 10:20:23 AM  API: http://10.104.185.142:10000  http://127.0.0.1:10000
Dec 9 10:20:23 AM  
Dec 9 10:20:23 AM  Console: http://10.104.185.142:40249 http://127.0.0.1:40249
Dec 9 10:20:23 AM  
Dec 9 10:20:23 AM  Documentation: https://docs.min.io
Dec 9 10:20:23 AM  
Dec 9 10:20:23 AM  WARNING: Console endpoint is listening on a dynamic port (40249), please use --console-address ":PORT" to choose a static port.
Dec 9 10:20:23 AM  WARNING: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables

there are 3 issues

  1. the repo sets MINIO_ACCESS_KEY and MINO_SECRET_KEY rather than MINIO_ROOT_USER and MINIO_ROOT_PASSWORD. this is fixed in pull request 1
  2. the startup script uses --address rather than --console-address
  3. the startup script uses port 9000 rather than port 9001.