Files
intelmq-docker/entrypoint.sh
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

9 lines
231 B
Bash

#!/bin/bash
if [[ $1 == "selftest" ]]
then
INTELMQ_TEST_EXOTIC=1
nosetests3 /opt/intelmq/intelmq/tests
else
INTELMQ_API_CONFIG=/opt/intelmq-api/config/config.json
cd intelmq-api && hug -m intelmq_api.serve -p8080
fi