Skip to content

Commit

Permalink
Added docker-compose config. (CycodeLabs#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
elad-pticha authored Sep 19, 2023
1 parent 8335a3e commit 23e0767
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

setup:
@echo "Building Services..."
docker-compose --file deployment/docker-compose.yml up -d
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ We are indexing all popular (based on stars) repositories on GitHub, their workf
Once indexed, the data could be queries effectively to find vulnerabilities and missing best practices.
All vulnerable GitHub Actions found here are documented here: https://docs.google.com/spreadsheets/d/1OGGDFWHGBRwIa60d-XtOsLUq7PQavdj_IK2EWd4vmjY


## Setup

Clone Raven repository.
``` bash
git clone https://github.com/CycodeLabs/Raven.git
cd Raven
```

Build and run `neo4j` && `redis` containers.
``` bash
make setup
```

## Usage

The tool contains two main functionalities, `download` and `index`.
Expand Down
17 changes: 17 additions & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3"

services:
neo4j:
image: neo4j:5.12
container_name: raven-neo4j
environment:
NEO4J_AUTH: neo4j/123456789 # Change 'password' to your desired Neo4j password
ports:
- "7474:7474"
- "7687:7687"

redis:
image: redis:7.2.1
container_name: raven-redis
ports:
- "6379:6379"

0 comments on commit 23e0767

Please sign in to comment.