Add minio
This commit is contained in:
36
minio/docker-compose.yml
Normal file
36
minio/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# MinIO Object Storage Service Configuration
|
||||||
|
services:
|
||||||
|
minio:
|
||||||
|
# Basic container configuration
|
||||||
|
container_name: minio
|
||||||
|
image: minio/minio:RELEASE.2025-06-13T11-33-47Z
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Runtime command and user permissions
|
||||||
|
command: server --console-address ":9001" /data
|
||||||
|
user: ${PUID}:${PGID}
|
||||||
|
|
||||||
|
# Environment variables for authentication and configuration
|
||||||
|
environment:
|
||||||
|
- MINIO_ROOT_USER=${MINIO_ROOT_USER} # Admin username
|
||||||
|
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} # Admin password
|
||||||
|
- MINIO_SERVER_URL=${MINIO_SERVER_URL} # Server endpoint
|
||||||
|
- MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL} # Console URL
|
||||||
|
|
||||||
|
# Persistent data storage
|
||||||
|
volumes:
|
||||||
|
- ${APPDATA_PATH}/minio/data:/data # Maps host directory to container
|
||||||
|
|
||||||
|
# Network ports (API:9000, Console:9001)
|
||||||
|
ports:
|
||||||
|
- ${API_PORT}:9000 # MinIO API port
|
||||||
|
- ${CONSOLE_PORT}:9001 # MinIO Console port
|
||||||
|
|
||||||
|
# Network configuration
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
|
||||||
|
# External network definition
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
external: true # Uses pre-existing network
|
Reference in New Issue
Block a user