Serve a MinIO instance running in Docker on your server. MinIO is a High Performance Object Storage.
- Docker installed on server
- A traefik v2 reverse proxy is already running in Docker
- A subdomain for MinIO console pointing to your server
- A subdomain for MinIO storage pointing to your server
- Clone this repository on your node and
cd
into the directory - Replace password in
docker-compose.yml
:
MINIO_PASSWORD=mypassword123456
sed -i "s/miniopasswordplaceholder/${MINIO_PASSWORD}/g" ./docker-compose.yml
You may want to add a space at the beginning of the command to prevent your password showing up in shell history.
- Replace subdomains in
docker-compose.yml
:
DOMAIN_MINIO_CONSOLE=minio.mydomain.com
DOMAIN_MINIO_STORAGE=minio-storage.mydomain.com
sed -i "s/minio.placeholderdomain.com/${DOMAIN_MINIO_CONSOLE}/g" ./docker-compose.yml
sed -i "s/minio-storage.placeholderdomain.com/${DOMAIN_MINIO_STORAGE}/g" ./docker-compose.yml
-
May adjust network name in
docker-compose.yml
to match your traefik network -
May adjust labels for
entrypoints
andcertresolver
indocker-compose.yml
to match your traefik config -
Start Service:
docker compose up -d
- Check if the MinIO storage and MinIO console is available at your respective subdomain. This should be the case within a few minutes.
The credentials for the console are
admin
and your chosen password.