FIX: Docker update to fix File permissions

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
Sebastian Waldbauer
2021-08-17 14:31:22 +02:00
parent 636e5493db
commit 3df283b513
3 changed files with 5 additions and 1 deletions

View File

@@ -39,4 +39,4 @@ services:
networks: networks:
intelmq-internal: intelmq-internal:
driver: bridge driver: bridge

View File

@@ -4,6 +4,10 @@ export INTELMQ_IS_DOCKER=1
intelmqctl upgrade-config intelmqctl upgrade-config
intelmqctl check intelmqctl check
intelmq_user=${INTELMQ_API_USER:-intelmq}
intelmq_pass=${INTELMQ_API_PASS:-intelmq}
intelmq-api-adduser --user $intelmq_user --pass $intelmq_pass
if [[ $1 == "selftest" ]] if [[ $1 == "selftest" ]]
then then
export INTELMQ_TEST_EXOTIC=1 export INTELMQ_TEST_EXOTIC=1

View File