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