Browse Source

added /home/admin so that minio finds the certs

Toastie 4 years ago
parent
commit
c20feff87a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      minio/docker-compose.yml

+ 2 - 1
minio/docker-compose.yml

@@ -7,12 +7,13 @@ services:
     user: 1000:1000
     user: 1000:1000
     volumes:
     volumes:
       - ${MINIO_DATA}/data:/mnt/data
       - ${MINIO_DATA}/data:/mnt/data
-      - ${MINIO_DATA}/home:/home/data
+      - ./data/home:/home/data
     ports:
     ports:
       - ${PORT_MAPPING} 
       - ${PORT_MAPPING} 
     environment:
     environment:
       MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
       MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
       MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
       MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
+      HOME: /home/data
     command: server /mnt/data 
     command: server /mnt/data 
     healthcheck:
     healthcheck:
       test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
       test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]