From 65116bb7f03ef6593b79390d631a47c558a88ae5 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 17 Jan 2025 21:00:44 +0100 Subject: [PATCH] Add minio admin to the containers --- README.md | 7 +++++-- docker-compose.yml | 13 +++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66e8d83..88a8884 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ WIP project ## Setup dev environment ``` -mkdir -p storage/postgres storage/synapse +mkdir -p storage/postgres storage/synapse storage/minio docker compose up ``` @@ -12,8 +12,11 @@ URLs: * Element: http://localhost:8080/ * Synapse: http://localhost:8448/ * OpenID configuration: http://127.0.0.1:9001/dex/.well-known/openid-configuration +* Minio console: http://localhost:9002/ Auto-created Matrix accounts: * `admin1` : `admin1` -* `user1` : `user1` \ No newline at end of file +* `user1` : `user1` + +Minio administration credentials: `minioadmin` : `minioadmin` \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 311780d..6583b4a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,3 +63,16 @@ services: volumes: - ./docker/dex:/conf:ro command: ["dex", "serve", "/conf/dex.config.yaml"] + + minio: + image: quay.io/minio/minio + command: minio server --console-address ":9002" /data + ports: + - 9000:9000/tcp + - 9002:9002/tcp + environment: + MINIO_ROOT_USER: minioadmin + MINIO_ROOT_PASSWORD: minioadmin + volumes: + # You may store the database tables in a local folder.. + - ./storage/minio:/data