Created
September 25, 2024 13:33
-
-
Save arkadius/70ae77779ec430c30ea9df1db180f973 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
minio: | |
image: minio/minio:RELEASE.2024-06-26T01-06-18Z | |
hostname: minio | |
networks: | |
- nussknacker-iceberg-net | |
environment: | |
MINIO_ROOT_USER: admin | |
MINIO_ROOT_PASSWORD: password | |
MINIO_DOMAIN: minio | |
MINIO_REGION_NAME: us-east-1 | |
MINIO_REGION: us-east-1 | |
ports: | |
- 9001:9001 | |
- 9000:9000 | |
volumes: | |
- nussknacker_minio_data:/data | |
command: [ "server", "/data", "--console-address", ":9001" ] | |
minio-setup: | |
depends_on: | |
- minio | |
image: minio/mc:RELEASE.2024-06-24T19-40-33Z | |
networks: | |
nussknacker-iceberg-net: | |
aliases: | |
- warehouse.minio | |
environment: | |
AWS_ACCESS_KEY_ID: admin | |
AWS_SECRET_ACCESS_KEY: password | |
AWS_REGION: us-east-1 | |
AWS_DEFAULT_REGION: us-east-1 | |
entrypoint: > | |
/bin/sh -c " | |
until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; | |
/usr/bin/mc mb minio/warehouse; | |
/usr/bin/mc policy set public minio/warehouse; | |
tail -f /dev/null | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment