Minio S3 server

How to deploy Minio S3 server with custom domain.

  • console-s3.my-domain.tld for the web console
  • s3.my-domain.tld for the S3 API
services:
- id: minio
  name: minio
  dockerConfiguration:
    image: quay.io/minio/minio
    imageVersion: latest
    args: server --address :9000 --console-address :9090 /data
  countMin: 1
  countMax: 1
  ports:
    - listeningPort: 9090
      healthCheckEnabled: false
      loadBalancerRules:
        - customDomains:
          - console-s3.my-domain.tld
          publicPort: 443
    - listeningPort: 9000
      healthCheckEnabled: false
      loadBalancerRules:
        - customDomains:
          - s3.my-domain.tld
          publicPort: 443
  environmentVariables:
    - key: MINIO_BROWSER_REDIRECT_URL
      value: "https://console-s3.my-domain.tld"
    - key: MINIO_SERVER_URL
      value: "https://s3.my-domain.tld"
    - key: MINIO_ROOT_USER
      value: "admin"
    - key: MINIO_ROOT_PASSWORD
      value: "***SuperAdminPassword***"
      isSensitive: true
  capacityCpuMhz: 1024
  capacityMemoryMB: 1024