Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • etc/hosts file to be able to access the MinIO services from the local control - panel via HTTPs: Within the MinIO docker-compose, an NGINX is created by secure protocol on port 443. That NGINX is configured with a self-signed certificate for the hostname devonesaitplatform.com, which will have to resolve to the IP of our your own PC, which is where the MinIO services will be running. So, in the etc/hosts file, we you have to create the following entries:

...

  • Configure in NGINX the redirection to the control-panel of our your local machine. To do this, we have to edit the file onesait-cloud-platform/devops/buil-deploy/docker/modules/minio/nginx/conf.d/default.conf and change the IP of the proxy_pass to the control - panel to our your own IP:

Once configured, it is possible you can to start and stop the MinIO services locally by:

...

Examining the docker-compose file, we you can see that we have it has mapped the MinIO service to port 9000 of our your machine, and the services of the MinIO consoles would be redirected from NGINX.

As of version 3.2.2, we provide the configured config-init to be able to use the docker-compose configuration. If a previous version of the platform is used, we need to edit the Endpoint Modules configuration, in the section corresponding to MinIO, to leave it as follows:

Code Block
minio: 
      base: http://localhost:9000
      admin:
         internal: https://minio-console.devonesaitplatform.com
         external: https://minio-console.devonesaitplatform.com
      browser:
         internal: https://minio-browser.devonesaitplatform.com
         external: https://minio-browser.devonesaitplatform.com
      cookiedomain: devonesaitplatform.com

A known problem is that the first time MinIO is accessed from the control-panel, it does not load correctly, and the iframe where it should load, shows an error. This is due to the self-signed certificate. To correct this, you would have to open the url minio-browser.devonesaitplatform.com in another browser window, and add the exception to the certificate. From that moment on, the screen will be loaded correctly.

Info

Once started, you have to enter the Controlpanel through the balancer: https://devonesaitplatform.com/controlpanel