- First clone this repository:
git clone git@github.com:openstate/docker-pulse.git
cd docker-pulse
- In
docker-compose.yml
you might want to remove the line containing- nginx-load-balancer
listed in the networks section of thec-pulse
service as well as the last three lines (shown below) as they are specific to our setup and not needed for general usage:
nginx-load-balancer:
external:
name: docker_nginx-load-balancer
- Then clone its dependencies:
- clone Pulse:
git clone git@github.com:openstate/pulse.git
- clone domain-scan:
git clone git@github.com:siccovansas/domain-scan.git
- clone pshtt:
git clone git@github.com:dhs-ncats/pshtt.git
- clone Pulse:
- This repository is currently in development so not everything is automated. Before starting you need to edit
.pulse-env
to change the three/home/projects
occurrences to the path where you cloned this repository. docker-compose build
docker-compose up -d c-pulse
- edit
pulse/meta.yml
to updatedomains_url
to point to a URL with a CSV containing the domains to scan; this CSV is currently required to have the following 3 columns in this order:Domain Name,Domain Type,Agency
- start
screen
- Either run this command from this directory
- sudo ./run_pulse_update.sh
- Or run the following commands yourself
- run
docker exec docker-pulse_c-pulse_1 python -m data.update --scan=here >> update.log
- once finished, restart
docker-compose restart
- run
- download
https.csv
from the website as archive
Pulse
uses domain-scan
and expects it to use ssllabs-scan
, sslyze
and pshtt
. domain-scan
's Dockerfile includes ssllabs-scan
and sslyze
, so we do not need to install them. It does not install pshtt
though, so we do need to build it ourselves and provide the correct environment variable to run it (which we do using .pulse-env
).