From 4aff8e432f360e3be2f0885ef18a63379d95f96f Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Sun, 7 Jun 2020 23:10:20 -0400 Subject: [PATCH] added docker files for deploying web app. --- theHarvester/lib/app/Dockerfile | 9 +++++++++ theHarvester/lib/app/docker-compose.yml | 8 ++++++++ theHarvester/lib/app/requirements.txt | 25 ++++++++++++++++++++----- 3 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 theHarvester/lib/app/Dockerfile create mode 100644 theHarvester/lib/app/docker-compose.yml diff --git a/theHarvester/lib/app/Dockerfile b/theHarvester/lib/app/Dockerfile new file mode 100644 index 00000000..6f6a7920 --- /dev/null +++ b/theHarvester/lib/app/Dockerfile @@ -0,0 +1,9 @@ +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim + +LABEL authors="NotoriousRebel, Jay (L1ghtning)" + +COPY requirements.txt ./ + +RUN pip install -r requirements.txt + +COPY ../../../../theHarvester ./ diff --git a/theHarvester/lib/app/docker-compose.yml b/theHarvester/lib/app/docker-compose.yml new file mode 100644 index 00000000..932935d5 --- /dev/null +++ b/theHarvester/lib/app/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' +services: + firstserver: + build: . + ports: + - 80:80 + - 443:443 + diff --git a/theHarvester/lib/app/requirements.txt b/theHarvester/lib/app/requirements.txt index 44445b09..1b3618fe 100644 --- a/theHarvester/lib/app/requirements.txt +++ b/theHarvester/lib/app/requirements.txt @@ -1,7 +1,22 @@ -aiofiles argparse -fastapi==0.54.1 -slowapi +aiodns==2.0.0 +aiofiles==0.5.0 +aiohttp==3.6.2 +aiosqlite==0.13.0 +beautifulsoup4==4.9.1 +dnspython==1.16.0 +fastapi==0.55.1 +netaddr==0.7.19 orjson>=3,<4 -uvicorn -uvloop +plotly==4.8.1 +PyYAML==5.3.1 +requests==2.23.0 +retrying==1.3.3 +shodan==1.23.0 +slowapi==0.1.1 +starlette==0.13.4 +texttable==1.6.2 +lxml==4.5.1 +uvicorn==0.11.5 +uvloop==0.14.0 +certifi==2020.4.5.1 \ No newline at end of file