Skip to content

Minio S3

MinIO is a cloud storage server compatible with Amazon S3, released under Apache License v2. As an object store, MinIO can store unstructured data such as photos, videos, log files, backups and container images. The maximum size of an object is 5TB.

egg-minio-s3.json

updated

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
18 lines

Image

  • Debian ghcr.io/ptero-eggs/yolks:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

1 variable

Startup command

./minio.sh
  • normal,rotate,update

    STARTUP_TYPEUsers can edit

    required|string|in:normal,rotate,update

Wings

Stop command
^C (SIGINT)
Running when the console shows
Docs:

Readme

minio s3

Features

Auto generate keys on server creation bypassing default minio keys

Update

Auto update minio to latest version using "update" startup feature

Automatic Key rotation using "rotate" startup feature

Auto Rotate

It's possible to rotate your keys by changing the startup option to "rotate"

Once this is changed restart your server and it will automatically move your current keys to old and create your new keys

Be sure to change your startup back to "normal" once you have started your server using "rotate". This will ensure that you don't accidentally rotate your keys twice

Known Issues

Double encryption may occur if you manually manipulate files in the keys directory

Key rotation is handled automatically, DO NOT manually delete files in keys directory

Changes

  1. minio-s3 fixes (#52)

    · Red Banana · 32cb910

  2. Storage Eggs

    · rowansc1 · 3b75c7c

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 18 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash
#
apt update
apt install -y wget
ARCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")
cd /mnt/server
wget https://dl.min.io/server/minio/release/linux-${ARCH}/minio
chmod +x minio
mkdir data
mkdir keys

wget https://raw.githubusercontent.com/Ptero-Eggs/application-eggs/main/minio/minio.sh
chmod +x minio.sh
export MINIO_ACCESS_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo $MINIO_ACCESS_KEY > keys/key.txt
export MINIO_SECRET_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo $MINIO_SECRET_KEY > keys/secret.txt
echo done