Skip to content

Commit

Permalink
[#40] iRODS demo with S3 resource plugin and MinIO container
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleoutsean authored and alanking committed Nov 9, 2022
1 parent 19f365f commit 28b1620
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,16 @@ services:
- "/etc/passwd:/etc/passwd:ro"
depends_on:
- irods-catalog-provider

minio:
image: minio/minio:RELEASE.2022-10-29T06-21-33Z
command: server --address ":19000" --console-address ":19001" /data
ports:
- "19000:19000"
- "19001:19001"
volumes:
- ./minio-data:/data
environment:
MINIO_ROOT_USER: irods
MINIO_ROOT_PASSWORD: irodsadmin

2 changes: 2 additions & 0 deletions irods_catalog_provider/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ RUN apt-get update && \
ARG irods_version=4.3.0
ARG irods_package_version_suffix=-1~focal
ARG irods_package_version=${irods_version}${irods_package_version_suffix}
ARG irods_resource_plugin_version=${irods_version}.0${irods_package_version_suffix}

RUN apt-get update && \
apt-get install -y \
irods-database-plugin-postgres=${irods_package_version} \
irods-runtime=${irods_package_version} \
irods-server=${irods_package_version} \
irods-resource-plugin-s3=${irods_resource_plugin_version} \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*
Expand Down
4 changes: 4 additions & 0 deletions minio-data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore MinIO data
*
# Don't ignore .gitignore
!.gitignore

0 comments on commit 28b1620

Please sign in to comment.