From 8236e8bf6eab092978f6d0054ab4f27a0c6e2121 Mon Sep 17 00:00:00 2001 From: Zaytsev Dmitriy Date: Wed, 2 Oct 2019 11:26:55 +0300 Subject: [PATCH] adding docker compose --- README.md | 14 +++++++++++--- docker-compose.yml | 6 ++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 docker-compose.yml diff --git a/README.md b/README.md index dec478ac..48361660 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- + - +
Hunt down social media accounts by username across social networks
@@ -30,7 +30,7 @@

- + @@ -157,6 +157,14 @@ Or you can simply use "Docker Hub" to run `sherlock`: docker run theyahya/sherlock user123 ``` +### Using `docker-compose` + +You can also use the `docker-compose.yml` file from the repository and use this command + +``` +docker-compose run sherlok -o /opt/sherlock/results/text.txt user123 +``` + ## Adding New Sites Please look at the Wiki entry on diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..0e6e6899 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +version: '2' +services: + sherlok: + build: . + volumes: + - "./results:/opt/sherlock/results"