Add minio admin to the containers

This commit is contained in:
Pierre HUBERT 2025-01-17 21:00:44 +01:00
parent 3323dd8a38
commit 65116bb7f0
2 changed files with 18 additions and 2 deletions

View File

@ -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`
* `user1` : `user1`
Minio administration credentials: `minioadmin` : `minioadmin`

View File

@ -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