Files
intelmq-docker/README.md
Sebastian Waldbauer 0082f38a2f [ENH] Updated IntelMQ-Full
Now we're using the api instead of the manager.
This is future proof & will be updated constantly.

Removed manager config & added api config

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

[NGINX] Added default webserver (nginx)

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Updated intelmq-full docker image

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Changed build process

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Updated utils

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Fixed entrypoint

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Updated docker-compose

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>

Misc

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
2021-01-24 15:19:04 +01:00

45 lines
1.6 KiB
Markdown

# intelmq-docker
**ATTENTION** This docker image is not docker compliant. **THIS** is just for beta usage & information gathering.
Do not run this software in production, it might break.
# Information
This repository is currently maintained by Sebastian Waldbauer (@waldbauer-certat).
If you do have any questions / feedback / questions, please open an issue :)
## Fastest way to run & deploy
1. `cd ~`
0. `mkdir intelmq_logs`
0. `sudo apt update && sudo apt upgrade -y && sudo apt install docker.io git docker-compose`
0. `git clone https://github.com/certat/intelmq-docker.git`
0. `cd intelmq-docker`
0. `sudo docker pull certat/intelmq-full:1.0`
0. `sudo docker pull certat/intelmq-nginx:latest`
0. `sudo docker-compose up`
0. Open your favourite browser -> Go to `http://127.0.0.1:1337/`
If you want to build/deploy/test this container run
1. `chmod +x build.sh`
0. `chmod +x test.sh`
0. `chmod +x publish.sh`
**!ATTENTATION!** Only [CERT.AT](https://cert.at/) employee's/maintainer can publish on `cerat/` repository. Change this in `publish.sh`
## How to develop new features & build containers?
**ATTENTION** Make sure to change `certat/intelmq-full:1.0` to `intelmq-full:1.0` in `docker-compose.yml`
1. `cd ~`
0. `git clone https://github.com/certtools/intelmq.git`
0. `git clone https://github.com/certtools/intelmq-manager`
Now you can start making changes to source code. If you're finished and ready to test within your docker enviroment
1. `cd ~/intelmq-docker`
0. `sudo ./build.sh`
Now your docker image should be built successfully. Check for errors :)
Now lets run tests to ensure our image is ready.
1. `sudo ./test.sh`