chg: dev: fix the changing local url names from legacy .local - & change the minio default port #15

This commit is contained in:
Lang
2026-08-18 17:19:43 +02:00
parent 8b428260d7
commit 2be49ebdf1
5 changed files with 26 additions and 13 deletions
+7 -4
View File
@@ -33,7 +33,7 @@ services:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_ENDPOINT: http://minio:9000
MINIO_PUBLIC_URL: ${MINIO_PUBLIC_URL:-http://localhost:9000}
MINIO_PUBLIC_URL: ${MINIO_PUBLIC_URL:-http://localhost:9010}
# IMPORTANT: Set TRUSTED_PROXIES to your reverse proxy IP in production.
# For Docker on same host, use: 172.17.0.1 (default bridge) or 172.16.0.0/12 (overlay network)
# For Kubernetes or external proxy, use the proxy's IP address.
@@ -78,7 +78,7 @@ services:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_ENDPOINT: http://minio:9000
MINIO_PUBLIC_URL: ${MINIO_PUBLIC_URL:-http://localhost:9000}
MINIO_PUBLIC_URL: ${MINIO_PUBLIC_URL:-http://localhost:9010}
TRUSTED_PROXIES: ${TRUSTED_PROXIES:-127.0.0.1}
volumes:
- app_var:/app/var
@@ -87,14 +87,17 @@ services:
condition: service_healthy
mail:
condition: service_started
healthcheck:
disable: true
minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z-cpuv1
restart: unless-stopped
container_name: '${APP_NAME}-minio'
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
- "9010:9000"
- "9011:9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}