Add dual-domain routing for MinIO S3 API and Console

- S3 API: s3.b28.dev (port 9000)
- Console: objects.b28.dev (port 9001)
- Uses Coolify SERVICE_FQDN_* for multi-domain routing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-22 13:50:25 -07:00
parent a21406974a
commit 71bfb8cd03
2 changed files with 9 additions and 4 deletions

View File

@@ -10,11 +10,12 @@ S3-compatible object storage for b28.dev infrastructure.
## Deployment ## Deployment
**URL**: https://objects.b28.dev **Web Console**: https://objects.b28.dev (port 9001)
**S3 API**: https://s3.b28.dev (port 9000)
**Ports**: **Ports**:
- 9000: S3 API (programmatic access) - 9000: S3 API (programmatic access) → s3.b28.dev
- 9001: Web Console (admin UI) - 9001: Web Console (admin UI) → objects.b28.dev
## Configuration ## Configuration

View File

@@ -16,12 +16,16 @@ services:
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD} MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
# Server configuration # Server configuration
MINIO_SERVER_URL: https://objects.b28.dev MINIO_SERVER_URL: https://s3.b28.dev
MINIO_BROWSER_REDIRECT_URL: https://objects.b28.dev MINIO_BROWSER_REDIRECT_URL: https://objects.b28.dev
# Optional: Enable browser # Optional: Enable browser
MINIO_BROWSER: "on" MINIO_BROWSER: "on"
# Coolify: Multiple domain routing
SERVICE_FQDN_MINIO_9000: s3.b28.dev
SERVICE_FQDN_MINIO_9001: objects.b28.dev
volumes: volumes:
- minio_data:/data - minio_data:/data