46 lines
No EOL
1.1 KiB
Text
46 lines
No EOL
1.1 KiB
Text
# ============================================================================
|
|
# didiStorage Environment Configuration
|
|
# ============================================================================
|
|
# Copy this file to .env and update with your values
|
|
|
|
# Docker Compose Project Name (groups containers in Docker Desktop)
|
|
COMPOSE_PROJECT_NAME=didibackend_datalayer
|
|
|
|
# MinIO Credentials (CHANGE THESE!)
|
|
MINIO_ROOT_USER=YOUR_ADMIN_USER_HERE
|
|
MINIO_ROOT_PASSWORD=YOUR_SECURE_PASSWORD_HERE
|
|
|
|
# Ports (using 9002/9003 to avoid conflicts with existing MinIO)
|
|
MINIO_API_PORT=9002 # API endpoint
|
|
MINIO_CONSOLE_PORT=9003 # Web console
|
|
|
|
# Region
|
|
MINIO_REGION=us-east-1
|
|
|
|
# Console Access
|
|
MINIO_BROWSER=on # Set to 'off' to disable web console
|
|
|
|
# Resource Limits
|
|
MINIO_MEMORY_LIMIT=1G
|
|
MINIO_MEMORY_RESERVATION=512M
|
|
|
|
# Storage Settings
|
|
MINIO_STORAGE_CLASS_STANDARD=EC:2
|
|
MINIO_STORAGE_CLASS_RRS=EC:1
|
|
|
|
# Timezone
|
|
TZ=UTC
|
|
|
|
# Bucket Lifecycle (days)
|
|
TEXT_FILES_EXPIRY=30
|
|
AUDIO_FILES_EXPIRY=30
|
|
VIDEO_FILES_EXPIRY=30
|
|
IMAGE_FILES_EXPIRY=60
|
|
DOCUMENT_FILES_EXPIRY=90
|
|
|
|
# Versioning
|
|
ENABLE_VERSIONING=true
|
|
|
|
# Encryption (optional)
|
|
MINIO_KMS_SECRET_KEY=
|
|
MINIO_KMS_AUTO_ENCRYPTION=off |