Skip to content

Commit

Permalink
Merge pull request #1 from ymind/master
Browse files Browse the repository at this point in the history
update versions
  • Loading branch information
yiteam authored Mar 21, 2017
2 parents 549ceee + fd9a949 commit 3a50b6b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ docs/_build/
# PyBuilder
target/

.vs
*.iml
.idea
mongo-connector.json
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.5.1-alpine
FROM python:3.5.3-alpine

ENV ETCDCTL_VERSION v2.2.5
ENV DUMB_INIT_VERSION 1.0.1
ENV ETCDCTL_VERSION v3.1.3
ENV DUMB_INIT_VERSION 1.2.0
ENV CONFD_VERSION 0.12.0-alpha3

# Native dependencies
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Totem
Copyright (c) 2015 YiTeam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# docker-mongo-es
Docker based wrapper for [mongo connector](https://github.com/10gen-labs/mongo-connector) to send data to elasticsearch.

## Status
In Development

## Issues
[https://github.com/totem/docker-mongo-es/issues](https://github.com/totem/docker-mongo-es/issues)
[https://github.com/yisoft/docker-mongo-es/issues](https://github.com/yisoft/docker-mongo-es/issues)

## Requirements
- Docker 1.6.2+
Expand All @@ -15,9 +12,11 @@ In Development

## Running
```
docker run --rm -it -e MONGO_URL=172.17.42.1:27017 -e ES_URL=172.17.42.1:9200 totem/docker-mongo-es
docker run --rm -it -e MONGO_URL=172.17.42.1:27017 \
-e ES_URL=172.17.42.1:9200 \
totem/docker-mongo-es
```

## Environment Variables

### MONGO_URL
Expand All @@ -33,8 +32,10 @@ Admin username for mongodb. If blank, no credentials are used. (Defaults to blan
Admin password for mongodb.(Default to blank)

### MONGO_INCLUDES
List of database.collection separated by comma that needs to be included for indexing. e.g.: ```totem.events,totem.deployments``` to
include database collections events and deployments from totem database.
List of database.collection separated by comma that needs to be included for indexing. e.g.: ```totem.events,yisoft.*``` to
include database collection events from totem database, and all database collections from yisoft database.

more about wildcard ```*``` see [mongo-connector wiki](https://github.com/10gen-labs/mongo-connector/wiki/Configuration-Options)

### CONFIG_LOCATION
Optional config file location. (Defaults to blank). e.g.: file:///tmp/config.yml or https://my-config-server/config.yml.
Expand Down
2 changes: 0 additions & 2 deletions conf/appconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
'es': {
'url': ES_URL,
'indexes': ES_INDEXES

},
'mongo-connector': {
'mainAddress': MONGO_URL,
Expand Down Expand Up @@ -54,7 +53,6 @@
'verbosity': LOG_VERBOSITY,
'continueOnError': True
},

}

CONFIG_LOCATION = os.getenv('CONFIG_LOCATION')
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mongo-connector==2.3.0
mongo-connector==2.5.1
elastic-doc-manager
elasticsearch>=1.0.0,<2.0.0
pymongo==3.2.2
requests
PyYAML==3.11
elasticsearch>=5.0.0,<6.0.0
pymongo==3.4.0
requests==2.13.0
PyYAML==3.12

0 comments on commit 3a50b6b

Please sign in to comment.