Docker deployment of Harvesters.
This repository deploys these containers:
- Redis Database for Gitlab Collector/Enhancer
- Gitlab Collector
- Gitlab Enhancer API
- Organization Harvester
- Continuous Integration Harvester
- Source Code Management Harvester
- Nginx
- ORG: 80 - 8000
- SCM: 80 - 8001
- CI: 80 - 8002
- Nginx: 80 - 80
Nginx Path | Container/Path |
---|---|
/orgharvester | orgharvester/harvester/ldp4j/api/service |
/scmharvester | scmharvester/harvester/ldp4j/api/service |
/ciharvester | ciharvester/harvester/service |
- docker > 1.7.0
- docker-compose > 1.3.1
Alias | Command |
---|---|
Start | docker-compose up -d |
Stop | docker-compose stop |
Delete | docker-compose rm -f |
Rebuild | docker-compose build |
If you want to change port redirection or configuration, we suggest you:
- Stop
- Delete
- Build (if you have changed any file or physical configuration)
- Start
- Gitlab Configuration (glcollector)
Variable | Description | Example |
---|---|---|
COLL_GITLAB_PROT | Protocol | http or https |
COLL_GITLAB_IP | URL or IP address | 127.0.0.1 or other |
COLL_GITLAB_PORT | Port | 80 or 443 or other |
COLL_GITLAB_USER | User (admin permission) | root or other |
COLL_GITLAB_PASS | Password | user_password_test |
COLL_GITLAB_VERIFY_SSL | Verify (auto-signed) SSL | 0 or 1 |
Note: if user has only read permission for few repositories instead of root permission, only you could collect that information.
- Jenkins Configuration (ciharvester)
Variable | Description | Example |
---|---|---|
TARGET | URL or IP address | http://... or https://... |
HTTP_PORT | Port | 80 or 443 or other |
BROKER_PORT | Rabbit MQ Port | 5672 or other |
BROKER_HOST | Rabbit URL or IP address | 127.0.0.1 or other |
Before deployment, you need to deploy first SCM improvements.
- Execute
docker-compose up -d glcollector
- See logs
docker-compose logs glcollector
- Wait to finish and exit docker-compose logs
To deploy other containers without to remove collected information.
docker-compose up -d --no-recreate