Update minio for community console

This commit is contained in:
2025-07-14 21:30:31 +05:30
parent dc9d7b2097
commit 1fd2481b1d

View File

@@ -1,36 +1,42 @@
# MinIO Object Storage Service Configuration # MinIO Object Storage Service Configuration
services: services:
# MinIO Server Service
minio: minio:
# Basic container configuration # Basic container configuration
container_name: minio container_name: minio
image: docker.io/minio/minio:RELEASE.2025-04-22T22-12-26Z image: docker.io/minio/minio:RELEASE.2025-06-13T11-33-47Z # Official MinIO image
restart: unless-stopped restart: unless-stopped # Auto-restart on failure
# Runtime command and user permissions # Runtime command and user permissions
command: server --console-address ":9001" /data command: server /data # Start in server mode
user: ${PUID}:${PGID} user: ${PUID}:${PGID} # Run as specified user/group
# Environment variables for authentication and configuration # Environment variables for authentication and configuration
environment: environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER} # Admin username - MINIO_ROOT_USER=${MINIO_ROOT_USER} # Admin username
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} # Admin password - MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} # Admin password
- MINIO_SERVER_URL=${MINIO_SERVER_URL} # Server endpoint - MINIO_SERVER_URL=${MINIO_SERVER_URL} # Public server endpoint URL
- MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL} # Console URL - MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL} # Web console redirect URL
# Persistent data storage # Persistent data storage
volumes: volumes:
- ${APPDATA_PATH}/minio/data:/data # Maps host directory to container - ${APPDATA_PATH}/minio/data:/data # Maps host directory to container
# Network ports (API:9000, Console:9001) # Network ports
ports: ports:
- ${API_PORT}:9000 # MinIO API port - ${API_PORT}:9000 # MinIO API port
- ${CONSOLE_PORT}:9001 # MinIO Console port
# Network configuration
networks:
- frontend # Connects to frontend network
# External network definition # MinIO Console Service (separate from main server)
networks: minio-console:
frontend: # Basic container configuration
external: true # Uses pre-existing network container_name: minio-console
image: ghcr.io/georgmangold/console:v1.8.1 # Community console UI
restart: unless-stopped # Auto-restart on failure
# Environment configuration
environment:
- CONSOLE_MINIO_SERVER=http://minio:9000 # Points to MinIO server
# Network ports
ports:
- ${CONSOLE_PORT}:9090 # Web console access port