Skip to content

Commit

Permalink
Add mongo client for test status
Browse files Browse the repository at this point in the history
  • Loading branch information
yeasy committed Aug 20, 2015
1 parent 47bf5e6 commit 897facb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Expand Up @@ -11,6 +11,9 @@ RUN pip install mongo-connector==2.0

COPY startup.sh /tmp/

COPY mongo /usr/bin/
RUN chmod a+x /usr/bin/mongo

# Sample usage when no commands is given outside
CMD ["/bin/bash", "/tmp/startup.sh"]

Binary file added mongo
Binary file not shown.
2 changes: 2 additions & 0 deletions startup.sh
Expand Up @@ -17,4 +17,6 @@ do
fi
done

sleep 1

mongo-connector -m mongo:27017 -t elasticsearch:9200 -d elastic_doc_manager

0 comments on commit 897facb

Please sign in to comment.