Title here
Summary here
Security
This section describes the procedure to self-host Threatr locally. It must not be exposed to the Internet directly.
Docker and Docker Compose must be installed on the machine hosting Threatr.
.envwget https://raw.githubusercontent.com/PiRogueToolSuite/threatr/refs/heads/main/deployment/.env
wget https://raw.githubusercontent.com/PiRogueToolSuite/threatr/refs/heads/main/deployment/threatr-local.ymlEdit the .env file and replace the values of DJANGO_SECRET_KEY and POSTGRES_PASSWORD with a new randomly generated secret.
docker compose -f threatr-local.yml up -ddocker compose -f threatr-local.yml run --rm threatr-local-front python manage.py createsuperuser --username adminhttp://127.0.0.1:9080/adminRefer to the documentation.
docker compose -f threatr-local.yml pull
docker compose -f threatr-local.yml up -ddocker compose -f threatr-local.yml stop