-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for MinIO object store, fixed CONTRIBUTING.md and…
… setup script (#752) ### Description - **Issue Fix**: Resolved issue #743 by adding support for Minio object storage, enabling self-hosting for Impler. - **Documentation Update**: Revised `CONTRIUTING.md` to reflect the latest guidelines and processes. - **Setup Script Fix**: Updated and corrected the setup script to ensure a correct setup of the web part. ### Details - Integrated Minio as an alternative object storage solution for those who prefer or require self-hosting options. Adjusted the configuration and ensured compatibility with existing workflows. - Made several improvements to the `CONTRIBUTING.md` file, including clearer instructions and updated requirements, making it easier for new contributors to get started. - Fixed issues in the setup script that were causing errors during initial setup. This should improve the setup experience and reduce friction for new developers. ### Testing - Verified that Minio integrates seamlessly with the existing setup and that all relevant functionalities are working as expected. - Tested the revised setup script on multiple environments to ensure consistent and error-free setup. - Reviewed the updated `CONTRIBUTING.md` with a new contributor to ensure clarity and completeness. Resolves #743
- Loading branch information
Showing
10 changed files
with
123 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
version: '3' | ||
services: | ||
|
||
mongodb: | ||
image: mongo | ||
container_name: mongodb | ||
ports: | ||
- 27017:27017 | ||
restart: unless-stopped | ||
networks: | ||
- impler | ||
|
||
rabbitmq: | ||
image: rabbitmq:3-alpine | ||
container_name: rabbitmq | ||
restart: always | ||
ports: | ||
- 5672:5672 | ||
- 5671:5671 | ||
healthcheck: | ||
test: ["CMD", "nc", "-z", "localhost", "5672"] | ||
interval: 5s | ||
timeout: 15s | ||
retries: 1 | ||
networks: | ||
- impler | ||
|
||
minio: | ||
image: minio/minio | ||
volumes: | ||
- minio_data:/data | ||
environment: | ||
MINIO_ROOT_USER: impler | ||
MINIO_ROOT_PASSWORD: implers3cr3t | ||
ports: | ||
- 9000:9000 | ||
- 9001:9001 | ||
command: server /data --console-address ":9001" | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] | ||
interval: 30s | ||
timeout: 20s | ||
retries: 3 | ||
|
||
createbuckets: | ||
image: minio/mc | ||
depends_on: | ||
- minio | ||
entrypoint: > | ||
/bin/sh -c " | ||
/usr/bin/mc alias set myminio http://minio:9000 impler implers3cr3t; | ||
/usr/bin/mc mb myminio/impler; | ||
exit 0; | ||
" | ||
volumes: | ||
minio_data: | ||
|
||
networks: | ||
impler: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters