Repository navigation
is there a prebuilt docker image and docker compose example? #8
Description
Activity
They are WIP and should be up by the end next week, that's the aim anyways.
Reacted by seamon67, Ratul Debnath, William Roush, Izzur Zuhri, ray73864, Dave, itsmesid, Katharta, phaeussler and xrh0905Reacted by William Roush, Xander Smeets, ray73864, itsmesid, aniel300, zenfokus and phaeusslerIve built a Dockerfile for the time being so I can use this UI, found here https://github.com/jamesagarside/openmaxio-object-browser/blob/openMaxIO-main/Dockerfile
Reacted by aniel300, zenfokus, max, phaeussler and xrh0905Hope to have a Docker version as soon as possible
@jnfinitym thank you 🙏
I have a repository where I'm building containers for personal use: Astrateam Containers Repository.
Thanks to @jamesagarside, I've incorporated his Dockerfile into the project. You can either use the pre-built container
ghcr.io/astrateam-net/minio-browser:1.7.6or create your own custom container.Docker compose example:
minio-local-browser: image: ghcr.io/astrateam-net/minio-browser:1.7.6 container_name: minio-local-browser restart: unless-stopped command: ./console server environment: # Replace with the URL of your MinIO server CONSOLE_MINIO_SERVER: http://192.168.20.10:9000
Reacted by James GarsideThis one is working perfectly for me, just make sure you are on v1.7.6
# Build stage for frontend FROM node:20-alpine AS frontend-builder WORKDIR /app/web-app # Git is required for some dependencies pulled from repositories RUN apk add --no-cache git # Install JS dependencies using BuildKit cache for faster subsequent builds COPY web-app/package.json web-app/yarn.lock ./ RUN --mount=type=cache,target=/root/.cache/yarn \ corepack enable && corepack prepare yarn@4.4.0 --activate && yarn install --immutable # Build React static assets COPY web-app/ ./ RUN yarn install --immutable --check-cache RUN yarn build # Build stage for backend FROM golang:1.23-alpine AS backend-builder WORKDIR /app # Download Go modules using cache layer COPY go.mod go.sum ./ RUN --mount=type=cache,target=/go/pkg/mod \ go mod download -x # Copy the rest of the source code (excluding /web-app/build which isn't present yet) COPY . . # Bring in the pre-built frontend assets and embed them COPY --from=frontend-builder /app/web-app/build ./web-app/build # Produce a fully static binary RUN CGO_ENABLED=0 GOOS=linux \ go build -trimpath --tags=kqueue --ldflags "-s -w" -o console ./cmd/console # -------- Runtime stage -------- FROM alpine:latest # Add certificates and create an unprivileged user RUN apk --no-cache add ca-certificates \ && addgroup -S console && adduser -S console -G console WORKDIR /home/console # Copy the statically-linked binary COPY --from=backend-builder /app/console ./ # Switch to non-root user for better security USER console EXPOSE 9090 # Basic healthcheck — adjust path if your server exposes another endpoint HEALTHCHECK --interval=30s --timeout=3s --start-period=5s CMD wget -qO- http://127.0.0.1:9090/health || exit 1 CMD ["./console", "server"]For those looking for an alternative which doesnt break console functionality. https://github.com/huncrys/minio-console/releases/tag/v1.8.0
Reacted by wgicio, Martin Joneš, xrh0905 and Marvin CorreiaReacted by wgicio, Martin Joneš and maxHere is a docker-compose example using huncrys/minio-console
https://gist.github.com/barbarbar338/25b536bb65eba64afe3d1af3fc6f295a
Reacted by aniel300For those looking for an alternative which doesnt break console functionality. https://github.com/huncrys/minio-console/releases/tag/v1.8.0
does huncrys/minio-console can be an alternative for utilizing restricted features of latest MinioUI
is there a prebuilt docker image and docker compose example? and docs? i should i used the docs from minio