Skip to content

is there a prebuilt docker image and docker compose example? #8

Description

@aniel300

is there a prebuilt docker image and docker compose example? and docs? i should i used the docs from minio

Activity

  1. jnfinitym commented on May 29, 2025

    @jnfinitym

    They are WIP and should be up by the end next week, that's the aim anyways.

  2. jamesagarside commented on Jun 6, 2025

    @jamesagarside

    Ive 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

  3. xwndo commented on Jun 7, 2025

    @xwndo

    Hope to have a Docker version as soon as possible

  4. aniel300 commented on Jun 9, 2025

    @aniel300
    Author

    @jnfinitym thank you 🙏

  5. mrkhachaturov commented on Jun 11, 2025

    @mrkhachaturov

    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.6 or 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
  6. HenkDz commented on Jun 11, 2025

    @HenkDz

    This 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"]
    
  7. jamesagarside commented on Jun 16, 2025

    @jamesagarside

    For those looking for an alternative which doesnt break console functionality. https://github.com/huncrys/minio-console/releases/tag/v1.8.0

  8. barbarbar338 commented on Jul 21, 2025

    @barbarbar338
  9. sanjiv-16 commented on Aug 6, 2025

    @sanjiv-16

    For 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions