2017-03-10 03:22:33 +03:00
|
|
|
mongo:
|
|
|
|
image: mongo:latest
|
|
|
|
ports:
|
|
|
|
- "27017:27017"
|
|
|
|
- "28017:28017"
|
|
|
|
redis:
|
|
|
|
image: redis:latest
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
|
|
|
rabbitmq:
|
|
|
|
image: rabbitmq:management
|
|
|
|
ports:
|
|
|
|
- "5672:5672"
|
|
|
|
- "15672:15672"
|
|
|
|
metabase:
|
|
|
|
build: ./metabase
|
|
|
|
ports:
|
|
|
|
- "5000:3000"
|
|
|
|
links:
|
|
|
|
- mongo
|
|
|
|
dashboard:
|
|
|
|
build: ../../crawler-dashboard
|
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=localhost
|
|
|
|
- DEBUG_ALLOW_HTTP=1
|
|
|
|
- CRAWLER_REDIS_URL=redis
|
|
|
|
- CRAWLER_NAME=crawlerdocker
|
|
|
|
- CRAWLER_SERVICE_URL=http://crawler:3000
|
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
- crawler
|
|
|
|
crawler:
|
|
|
|
build: ..
|
|
|
|
links:
|
|
|
|
- mongo
|
|
|
|
- redis
|
|
|
|
- rabbitmq
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=localhost
|
|
|
|
- CRAWLER_NAME=crawlerdocker
|
2017-03-15 00:53:42 +03:00
|
|
|
- CRAWLER_MODE=Standard
|
2017-03-10 03:22:33 +03:00
|
|
|
- CRAWLER_REDIS_URL=redis
|
|
|
|
- CRAWLER_STORE_PROVIDER=mongo
|
|
|
|
- CRAWLER_MONGO_URL=mongodb://mongo:27017/ghcrawler
|
|
|
|
- CRAWLER_QUEUE_PREFIX=crawlerdocker
|
|
|
|
- CRAWLER_QUEUE_PROVIDER=amqp
|
|
|
|
- CRAWLER_AMQP_URL=amqp://rabbitmq:5672
|
|
|
|
- CRAWLER_RABBIT_MANAGER_ENDPOINT=http://guest:guest@rabbitmq:15672
|
|
|
|
- CRAWLER_GITHUB_TOKENS=${CRAWLER_GITHUB_TOKENS}
|
2017-03-15 00:53:42 +03:00
|
|
|
- CRAWLER_OPTIONS_PROVIDER=redis
|
|
|
|
- CRAWLER_EVENT_PROVIDER=none
|