2 Commits 3d35e91f5b ... 8cf224cc85

Author SHA1 Message Date
  toastie89 8cf224cc85 Merge branch 'master' of https://git.in-ulm.de/ulpeters/minio 10 months ago
  toastie89 0c272cab57 added script for getting tls certs 10 months ago
2 changed files with 13 additions and 2 deletions
  1. 5 0
      minio/.env.template
  2. 8 2
      minio/HTTPS.md

+ 5 - 0
minio/.env.template

@@ -11,3 +11,8 @@ MINIO_DATA=./data
 # IP / Port Mapping 
 # IP_ADDRESS=192.168.10.10:9000:9000
 PORT_MAPPING=9000:9090
+
+# Path to certificates, expected filenames:
+#  - fullchain.pem
+#  - key.pem
+CERT_PATH=/opt/docker/proxy/data/certs/minio.example.com

+ 8 - 2
minio/HTTPS.md

@@ -1,5 +1,6 @@
-# Activate TLS
+# TLS Certificates
 
+## Snake Oil
 To get started with snake oil certs:
 ```
 sudo apt install ssl-cert
@@ -9,7 +10,12 @@ sudo cp /etc/ssl/private/ssl-cert-snakeoil.key ./data/home/.minio/certs/private.
 sudo chown -R 1000:1000 data
 ```
 
+## Certs from proxy-companion 
+`docker-compose.overrride.yml` defines a seperate container
+to copy certs from another container which runs proxy-companion,
+rename them and sets permissions.
+
 
 ### References
   - https://docs.min.io/docs/how-to-secure-access-to-minio-server-with-tls.html
-  - https://wiki.ubuntuusers.de/ssl-cert/
+  - https://wiki.ubuntuusers.de/ssl-cert/