mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 01:02:52 +01:00
FIX: Updated paths in docker container
Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
@@ -3,8 +3,8 @@ export INTELMQ_IS_DOCKER=1
|
||||
if [[ $1 == "selftest" ]]
|
||||
then
|
||||
export INTELMQ_TEST_EXOTIC=1
|
||||
nosetests3 /opt/intelmq/intelmq/tests
|
||||
nosetests3 /etc/intelmq/intelmq/tests
|
||||
else
|
||||
export INTELMQ_API_CONFIG=/opt/intelmq-api/config/config.json
|
||||
cd intelmq-api && hug -m intelmq_api.serve -p8080
|
||||
export INTELMQ_API_CONFIG=/etc/intelmq-api/config/config.json
|
||||
cd /etc/intelmq-api && hug -m intelmq_api.serve -p8080
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user