Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ Docker deployment instructions
=====

## tl;dr

Using [docker-compose](https://docs.docker.com/compose/install/):

```bash
git clone https://github.com/NullArray/AutoSploit.git
cd Autosploit/Docker
docker-compose run --rm autosploit
```

Using just Docker:

```bash
git clone https://github.com/NullArray/AutoSploit.git
cd Autosploit/Docker
Expand Down
30 changes: 30 additions & 0 deletions Docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3'

services:
autosploit:
build:
context: .
ports:
- 80:80
- 443:433
- 4444:4444
networks:
- haknet
depends_on:
- postgres
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=s3cr3t
networks:
- haknet
volumes:
- db:/var/lib/postgresql/data

networks:
haknet:
driver: bridge

volumes:
db: