Thanks to visit codestin.com
Credit goes to github.com

Skip to content

georgmangold/console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Note

This is just a fork of the MinIO Console for my own personal educational purposes, and therefore it incorporates MinIO® source code. You may also want to look for other maintained forks.

Note

It is important to note that MINIO is a registered trademark of the MinIO Corporation. Consequently, this project is not affiliated with or endorsed by the MinIO Corporation.

Console

Workflow license

A graphical admin management browser user interface for MinIO® Server

Login Metrics Object Browser
Login Metrics Object Browser
Performance CommandInterface
Performance/ Speedtest Ctrl/Strg + k

Table of Contents

Install

Binary Releases binarydownloads

OS ARCH Binary
Linux amd64 linux-amd64
Linux arm64 linux-arm64
Linux arm linux-arm
Apple amd64 darwin-amd64
Apple arm64 darwin-amd64
Windows amd64 windows-amd64

Docker

Pull the latest release via: Github Packages

docker pull ghcr.io/georgmangold/console

Run it with and replace YOUR_MINIO_SERVER_URL with your own MinIO Server URL

docker run -p 127.0.0.1:9090:9090 -e CONSOLE_MINIO_SERVER=https://YOUR_MINIO_SERVER_URL ghcr.io/georgmangold/console

Build from source

Note

You will need a working Go environment. Therefore, please follow How to install Go. Minimum version required is GitHub go.mod Go version

go install github.com/georgmangold/console/cmd/console@latest

Refer to DEVELOPMENT.md and CONTRIBUTING.md for more Information on how to build this project.

Setup

All console needs is a MinIO user with admin privileges and URL pointing to your MinIO deployment.

Note

We don't recommend using MinIO's Root Admin Credentials

1. Create a user console using mc

mc admin user add myminio/
Enter Access Key: console
Enter Secret Key: xxxxxxxx

2. Create a policy for console with admin access to all resources (for testing)

cat > admin.json << EOF
{
	"Version": "2012-10-17",
	"Statement": [{
			"Action": [
				"admin:*"
			],
			"Effect": "Allow",
			"Sid": ""
		},
		{
			"Action": [
                "s3:*"
			],
			"Effect": "Allow",
			"Resource": [
				"arn:aws:s3:::*"
			],
			"Sid": ""
		}
	]
}
EOF
mc admin policy create myminio/ consoleAdmin admin.json

3. Set the policy for the new console user

mc admin policy attach myminio consoleAdmin --user=console

Note

Additionally, you can create policies to limit the privileges for other console users, for example, if you want the user to only have access to dashboard, buckets, notifications and watch page, the policy should look like this:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
	"admin:ServerInfo"
      ],
      "Effect": "Allow",
      "Sid": ""
    },
    {
      "Action": [
	"s3:ListenBucketNotification",
	"s3:PutBucketNotification",
	"s3:GetBucketNotification",
	"s3:ListMultipartUploadParts",
	"s3:ListBucketMultipartUploads",
	"s3:ListBucket",
	"s3:HeadBucket",
	"s3:GetObject",
	"s3:GetBucketLocation",
	"s3:AbortMultipartUpload",
	"s3:CreateBucket",
	"s3:PutObject",
	"s3:DeleteObject",
	"s3:DeleteBucket",
	"s3:PutBucketPolicy",
	"s3:DeleteBucketPolicy",
	"s3:GetBucketPolicy"
      ],
      "Effect": "Allow",
      "Resource": [
	"arn:aws:s3:::*"
      ],
      "Sid": ""
    }
  ]
}

Start Console service:

Before running console service, following environment settings must be supplied

# MinIO Endpoint
export CONSOLE_MINIO_SERVER=http://localhost:9000

Now start the console service.

./console server
2021-01-19 02:36:08.893735 I | 2021/01/19 02:36:08 server.go:129: Serving console at http://localhost:9090

By default console runs on port 9090 this can be changed with --port of your choice.

Note

If you have changed the region on your MinIO Server from the default us-east-1 you need to set the Environment Variable CONSOLE_MINIO_REGION= as well.

Documentation

See documentation for more information.

Contribute to console Project

Please follow console Contributor's Guide

License

About

Console is a Admin UI for MinIO® Object Storage Server 🖥️

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 39.9%
  • JavaScript 36.1%
  • Go 23.2%
  • Shell 0.4%
  • Makefile 0.3%
  • HTML 0.1%