Skip to content

Commit 64cc142

Browse files
authored
Merge pull request #31 from wernight/master
Adds docker-compose to simplify setup even further.
2 parents 7cfcb4e + a9b2e49 commit 64cc142

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

Docker/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@ Docker deployment instructions
22
=====
33

44
## tl;dr
5+
6+
Using [docker-compose](https://docs.docker.com/compose/install/):
7+
8+
```bash
9+
git clone https://github.com/NullArray/AutoSploit.git
10+
cd Autosploit/Docker
11+
docker-compose run --rm autosploit
12+
```
13+
14+
Using just Docker:
15+
516
```bash
617
git clone https://github.com/NullArray/AutoSploit.git
718
cd Autosploit/Docker

Docker/docker-compose.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: '3'
2+
3+
services:
4+
autosploit:
5+
build:
6+
context: .
7+
ports:
8+
- 80:80
9+
- 443:433
10+
- 4444:4444
11+
networks:
12+
- haknet
13+
depends_on:
14+
- postgres
15+
postgres:
16+
image: postgres
17+
environment:
18+
- POSTGRES_PASSWORD=s3cr3t
19+
networks:
20+
- haknet
21+
volumes:
22+
- db:/var/lib/postgresql/data
23+
24+
networks:
25+
haknet:
26+
driver: bridge
27+
28+
volumes:
29+
db:
30+

0 commit comments

Comments
 (0)