...
To run the Disk archival extractor with this configuration:
Code Block |
---|
docker run -it-net=host -itd -e MOUNTED_PATHS='{ "/Users/lambert8/clowder/data":"/home/clowder/clowder/data" }' -v /Users/lambert8/clowder/data/:/home/clowder/clowder/data -e ARCHIVE_SOURCE_DIRECTORY="/home/clowder/clowder/data/uploads/" -e ARCHIVE_TARGET_DIRECTORY="/home/clowder/clowder/data/archive/" clowder/extractors-archival-disk |
NOTE 1: MOUNTED_PATHS
configuration is currently required.
NOTE: on MacOSX, you may need to run the extractor with the --net=host
option to connect to RabbitMQ.
ncsa.archival.s3 s3
To build the S3 archival extractor's Docker image, execute the following commands:
...
Code Block |
---|
docker run --net=host -it --rmitd -e AWS_S3_SERVICE_ENDPOINT='https://s3-us-east-2.amazonaws.com' -e AWS_ACCESS_KEY='AWSACCESSKEYKASOKD' -e AWS_SECRET_KEY='aWSseCretKey+asAfasf90asdASDADAOaisdoas' -e AWS_BUCKET_NAME='bucket-on-aws' -e AWS_REGION='us-east-2' clowder/extractors-archival-s3 |
NOTE: on MacOSX, you may need to run the extractor with the --net=host
option to connect to RabbitMQ.
Example Configuration: MinIO
...
Code Block |
---|
docker run --net=host -ititd --rm -e AWS_S3_SERVICE_ENDPOINT='http://localhost:8000' -e AWS_ACCESS_KEY='AMINIOACCESSKEYKASOKD' -e AWS_SECRET_KEY='aMinIOseCretKey+asAfasf90asdASDADAOaisdoas' -e AWS_BUCKET_NAME='bucket-on-minio' clowder/extractors-archival-s3 |
NOTE: on MacOSX, you may need to run the extractor with the --net=host
option to connect to RabbitMQ.