Address reviewer feedback: Fix MinIO endpoint and add admin permissions

- Fix MinIO endpoint configuration to use SERVICE_URL_MINIO_3200 for public access
  This resolves the issue with signed URLs for photo uploads as noted by @devdilson
- Add ENTE_INTERNAL_ADMIN environment variable to grant first account admin permissions
  This prevents the 10GB storage limit issue mentioned in the review
- Update service templates JSON files with the corrected configuration
- Ensure MinIO service has proper SERVICE_URL configuration for external access

Addresses all feedback from @devdilson's review comments:
- Fixes signed URL access for photo uploads
- Grants admin permissions to first account
- Maintains proper service architecture for Coolify deployment
This commit is contained in:
Vishwanath Martur
2025-09-03 07:23:07 +05:30
parent c5befbd276
commit 7fe8fec1de
4 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -21,13 +21,15 @@ services:
- S3_USE_PATH_STYLE_URLS=true
- S3_B2_EU_CEN_KEY=${SERVICE_USER_MINIO}
- S3_B2_EU_CEN_SECRET=${SERVICE_PASSWORD_MINIO}
- S3_B2_EU_CEN_ENDPOINT=minio:3200
- S3_B2_EU_CEN_ENDPOINT=${SERVICE_URL_MINIO_3200}
- S3_B2_EU_CEN_REGION=eu-central-2
- S3_B2_EU_CEN_BUCKET=b2-eu-cen
# Security keys
- ENCRYPTION_KEY=${SERVICE_PASSWORD_64_ENCRYPTION}
- HASH_KEY=${SERVICE_PASSWORD_64_HASH}
- JWT_SECRET=${SERVICE_PASSWORD_64_JWT}
# Admin permissions (grants first account admin access)
- ENTE_INTERNAL_ADMIN=1580559962386438
# App URLs (optional - for web interface)
- APPS_PUBLIC_ALBUMS=${APPS_PUBLIC_ALBUMS:-}
- APPS_CAST=${APPS_CAST:-}
@@ -63,6 +65,7 @@ services:
minio:
image: minio/minio:latest
environment:
- SERVICE_URL_MINIO_3200
- MINIO_ROOT_USER=${SERVICE_USER_MINIO}
- MINIO_ROOT_PASSWORD=${SERVICE_PASSWORD_MINIO}
command: server /data --address ":3200" --console-address ":3201"