~emersion/public-inbox

sr.ht-container-compose: minio: Expose console v1 APPLIED

Thorben Günther: 1
 minio: Expose console

 2 files changed, 5 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/48894/mbox | git am -3
Learn more about email & git

[PATCH sr.ht-container-compose] minio: Expose console Export this patch

By default minio will chose a random port for binding the UI/console.
Instead bind to "9001", to allow easier access.
Accessing the console/UI can be useful to easily inspect the contents of
a bucket.
---
 README.md    | 2 ++
 compose.yaml | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 80b3cfe..a87a2d7 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,8 @@ The following services are included:
- git.sr.ht: web frontend at http://127.0.0.1:5001,
  SSH access at ssh://git@127.0.0.1:5901
- paste.sr.ht: web frontend at http://127.0.0.1:5011
- minio: web frontend at http://127.0.0.1:9001,
  username: minio, password: jIPk1RZ8gdhQwnUL4YtrOAXsFpHvb4Mw8hEwfLq

By default, all services are started. To only start a subset, specify services
of interest as arguments, for instance:
diff --git a/compose.yaml b/compose.yaml
index 02617a8..706f6dd 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -50,7 +50,9 @@ services:
      MINIO_ROOT_PASSWORD: jIPk1RZ8gdhQwnUL4YtrOAXsFpHvb4Mw8hEwfLq
    volumes:
      - "minio-data:/data"
    command: server /data
    ports:
      - "127.0.0.1:9001:9001"
    command: server --console-address ":9001" /data
  meta-api:
    <<: *srht-service
    build:

base-commit: 8a9a612315c905d59b7d31bbc956a02a3e1cdf75
prerequisite-patch-id: 0043ff8e86fbc583bc58c2939d0f38a9a4439395
--
2.43.0
Pushed, thanks!