Before proceeding, ensure your system is up to date and Docker (with Docker Compose) is installed. Run the following commands on Ubuntu:
Update and upgrade your system:
sudo apt update && sudo apt upgrade -yInstall required packages:
sudo apt install -y ca-certificates curl gnupg lsb-releaseAdd Docker’s official GPG key:
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpgSet up the Docker repository:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullInstall Docker Engine, Docker CLI, containerd, and Docker Compose plugin:
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginVerify Docker installation:
docker --versionPrepare the Data Directory and Permissions:
# Create the directory for MinIO data
mkdir -p /home/ubuntu/minio-data
# Set appropriate permissions
sudo chown -R 1000:1000 /home/ubuntu/minio-dataRun MinIO Docker Container:
docker run -d \
-p 9000:9000 -p 9001:9001 \
--name miniio \
-v /home/ubuntu/minio-data:/data \
-e MINIO_ROOT_USER=admin \
-e MINIO_ROOT_PASSWORD=change_this_password \
--restart always \
quay.io/minio/minio server /data --console-address ":9001"Verify MinIO Container:
# Check if the container is running (shows all containers including stopped ones)
docker ps -a | grep miniio
# Check container status
docker container inspect -f '{{.State.Status}}' miniio 2>/dev/null || echo "Container not found"
# If the container is not running, check logs for errors
docker logs miniio 2>/dev/null || echo "Cannot get logs - container may not exist"- Console URL:
http://you-server-ip-address:9001 - Username:
admin - Password:
change_this_password
- Log into the MiniIO console.
- Create a bucket named:
nca-toolkit - Generate Access and Secret Keys.
- Be sure to change default root credentials or create a new user with appropriate permissions.
- Save these keys.
Once MiniIO is set up and your access keys are ready, run:
docker run -d -p 8080:8080 --name nca-toolkit \
-e API_KEY=testkey123 \
-e S3_ENDPOINT_URL=http://server-IP-address:9000 \
-e S3_ACCESS_KEY=your_access_key \
-e S3_SECRET_KEY=your_secret_key \
-e S3_BUCKET_NAME=nca-toolkit \
-e S3_REGION=None \
stephengpope/no-code-architects-toolkit:latestReplace
your_access_keyandyour_secret_keywith the values obtained from MiniIO.