Update MinIO configuration to use .app domain for server and console URLs
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 32s
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 32s
This commit is contained in:
@@ -6,8 +6,8 @@ services:
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||
MINIO_SERVER_URL: ${MINIO_SERVER_URL:-https://minio.crewsportswear.com}
|
||||
MINIO_BROWSER_REDIRECT_URL: ${MINIO_BROWSER_REDIRECT_URL:-https://console.crewsportswear.com}
|
||||
MINIO_SERVER_URL: ${MINIO_SERVER_URL:-https://minio.crewsportswear.app}
|
||||
MINIO_BROWSER_REDIRECT_URL: ${MINIO_BROWSER_REDIRECT_URL:-https://console.crewsportswear.app}
|
||||
command: server /data --console-address ":9001"
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
- "traefik.enable=true"
|
||||
|
||||
# MinIO API (S3 endpoint)
|
||||
- "traefik.http.routers.minio-api.rule=Host(`minio.crewsportswear.com`)"
|
||||
- "traefik.http.routers.minio-api.rule=Host(`minio.crewsportswear.app`)"
|
||||
- "traefik.http.routers.minio-api.entrypoints=websecure"
|
||||
- "traefik.http.routers.minio-api.tls=true"
|
||||
- "traefik.http.routers.minio-api.tls.certresolver=le"
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
- "traefik.http.services.minio-api.loadbalancer.server.port=9000"
|
||||
|
||||
# MinIO Console (Web UI)
|
||||
- "traefik.http.routers.minio-console.rule=Host(`console.crewsportswear.com`)"
|
||||
- "traefik.http.routers.minio-console.rule=Host(`console.crewsportswear.app`)"
|
||||
- "traefik.http.routers.minio-console.entrypoints=websecure"
|
||||
- "traefik.http.routers.minio-console.tls=true"
|
||||
- "traefik.http.routers.minio-console.tls.certresolver=le"
|
||||
@@ -39,11 +39,11 @@ services:
|
||||
- "traefik.http.services.minio-console.loadbalancer.server.port=9001"
|
||||
|
||||
# HTTP to HTTPS redirect
|
||||
- "traefik.http.routers.minio-api-http.rule=Host(`minio.crewsportswear.com`)"
|
||||
- "traefik.http.routers.minio-api-http.rule=Host(`minio.crewsportswear.app`)"
|
||||
- "traefik.http.routers.minio-api-http.entrypoints=web"
|
||||
- "traefik.http.routers.minio-api-http.middlewares=https-redirect"
|
||||
|
||||
- "traefik.http.routers.minio-console-http.rule=Host(`console.crewsportswear.com`)"
|
||||
- "traefik.http.routers.minio-console-http.rule=Host(`console.crewsportswear.app`)"
|
||||
- "traefik.http.routers.minio-console-http.entrypoints=web"
|
||||
- "traefik.http.routers.minio-console-http.middlewares=https-redirect"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user