Browse Source

updated as console is no longer serverd on :9000

toastie89 1 year ago
parent
commit
7cafeb2706
2 changed files with 5 additions and 3 deletions
  1. 2 2
      minio/README.md
  2. 3 1
      minio/docker-compose.yml

+ 2 - 2
minio/README.md

@@ -5,7 +5,7 @@
 Scope of the **basic setup** is to run minio  
 - as unprivileged user
 - with a directoy mounted for data
-- with the container port 9000 (s3 + web ui) mapped to a host port
+- with the container port 9000 (S3) mapped to a host port
 
 Scope of the **advance setup** is to run minio
 - web ui (console, port 9001) with basic auth behind a reverse-proxy (port 443) with letsencrypt
@@ -42,4 +42,4 @@ chown -R 1000:1000 $miniodir
 #### Steps
   - set $HOSTNAME in .env
   - set $CERT_PATH in .env
-  - Setup FW
+  - Setup FW

+ 3 - 1
minio/docker-compose.yml

@@ -10,11 +10,13 @@ services:
       - ./data/home:/home/data
     ports:
       - ${PORT_MAPPING} # s3, port 9000
+    expose:
+      - 9001
     environment:
       MINIO_ROOT_USER: ${MINIO_ROOT_USER}
       MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
       HOME: /home/data
-    command: server /mnt/data 
+    command: server --console-address ":9001" /mnt/data
     healthcheck:
       test: ["CMD", "curl", "-fail", "--insecure",  "https://localhost:9000/minio/health/live"]
       interval: 30s