Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 838 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 838 Bytes

Mongo Export Surgeon

Docker Image CI

An easy way to export documents associated with an ID from multiple collections. Surgically.

Build

docker build -t tehkapa/mongoexportsurgeon .

Run

docker run --name mongoes -it \
  -e DBNAME=database \
  -e USERNAME=user \
  -e PASSWORD=password \
  -e HOST=mongo-server \
  -e AWSACCESSKEYID=AKxxxxxx \
  -e AWSSECRETACCESSKEY=bHxxxxxxxx \
  -e BUCKET=my-bucket \
  tehkapa/mongoexportsurgeon

or using .env file

docker run --name mongoes --env-file .env -it tehkapa/mongoexportsurgeon

You can pass organizationID on run command with --env ID=ac12cd3ef45 --env KEY=organization