Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spamscope/spamscope-dockerfile-elasticsearch
Dockerfile for SpamScope Elasticsearch
https://github.com/spamscope/spamscope-dockerfile-elasticsearch
apache-storm docker docker-image dockerfile mail-analyzer spam-analyzer
Last synced: 15 days ago
JSON representation
Dockerfile for SpamScope Elasticsearch
- Host: GitHub
- URL: https://github.com/spamscope/spamscope-dockerfile-elasticsearch
- Owner: SpamScope
- License: apache-2.0
- Created: 2016-11-20T22:31:39.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2018-10-28T18:10:29.000Z (about 6 years ago)
- Last Synced: 2024-05-20T19:35:20.194Z (7 months ago)
- Topics: apache-storm, docker, docker-image, dockerfile, mail-analyzer, spam-analyzer
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/fmantuano/spamscope-elasticsearch/
- Size: 28.3 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/SpamScope/spamscope-dockerfile-elasticsearch.svg?branch=master)](https://travis-ci.org/SpamScope/spamscope-dockerfile-elasticsearch)
[![](https://images.microbadger.com/badges/image/fmantuano/spamscope-elasticsearch.svg)](https://microbadger.com/images/fmantuano/spamscope-elasticsearch "Get your own image badge on microbadger.com")![SpamScope](https://github.com/SpamScope/spamscope/blob/develop/docs/logo/spamscope.jpg?raw=true "SpamScope")
**spamscope-dockerfile-elasticsearch** is a dockerfile to build [fmantuano/spamscope-elasticsearch](https://hub.docker.com/r/fmantuano/spamscope-elasticsearch/) Docker image.
This image must be used with an elasticsearch container, where you'll save your analysis.**fmantuano/spamscope-elasticsearch** is an all-in-one image that allows you to run a container with:
- [Apache Storm](http://storm.apache.org/)
- [SpamScope](https://github.com/SpamScope/spamscope)
- [Thug](https://github.com/buffer/thug)SpamScope is an Advanced Spam Analyzer. For more details visit [GitHub project](https://github.com/SpamScope/spamscope).
## Usage
To use spamscope-elasticsearch, you should start an elasticsearch container, then you should connect it with the spamscope container.
To create a new instance, with the right volumes of the configurations, use the following snippet:
```
$ sudo docker run --name spamscope -p 8080:8080 -d -v /local/mails:/mnt/mails -v /local/conf:/etc/spamscope/ fmantuano/spamscope-elasticsearch
```Then you must submit elasticsearch topology:
```
$ sudo docker exec -d spamscope spamscope-topology submit -g spamscope_elasticsearch
```Please check `spamscope-topology submit -h` for more details.
Once the docker instance is created, you can control it by running:
```
$ sudo docker start spamscope$ sudo docker stop spamscope
```To exec an interactive shell:
```
$ sudo docker exec -ti spamscope /bin/bash
```## Apache Storm settings
For more details go to [SpamScope project](https://github.com/SpamScope/spamscope).