docker-compose-minio-tls.yaml 600 B

1234567891011121314151617181920212223
  1. version: '3.7'
  2. services:
  3. minio_tls:
  4. hostname: minio-tls
  5. image: quay.io/minio/minio:${MINIO_TAG}
  6. command: server --certs-dir /etc/certs --address ":9100" --console-address ":9101" /minio-data
  7. volumes:
  8. - ./certs/server.crt:/etc/certs/public.crt
  9. - ./certs/server.key:/etc/certs/private.key
  10. expose:
  11. - "9100"
  12. - "9101"
  13. ports:
  14. - "9100:9100"
  15. - "9101:9101"
  16. healthcheck:
  17. test: ["CMD", "curl", "-k", "-f", "https://localhost:9100/minio/health/live"]
  18. interval: 30s
  19. timeout: 5s
  20. retries: 3
  21. networks:
  22. emqx_bridge: