-
Notifications
You must be signed in to change notification settings - Fork 86
/
docker-compose.yaml
executable file
·52 lines (52 loc) · 1.27 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.7"
services:
web-server:
build:
dockerfile: php.Dockerfile
context: .
restart: always
volumes:
- "./certs/ssl/:/etc/apache2/ssl/"
- "./Responder/logs/:/var/log/Responder/"
- "./html/:/var/www/html/"
- type: bind
source: ./conf/.htpasswd
target: /var/www/.htpasswd
- type: bind
source: ./conf/apache2.conf
target: /etc/apache2/apache2.conf
- type: bind
source: ./conf/000-default-le-ssl.conf
target: /etc/apache2/sites-enabled/000-default-le-ssl.conf
- type: bind
source: ./conf/php.ini
target: /usr/local/etc/php/php.ini
ports:
- "80:80"
- "443:443"
python:
build:
dockerfile: python.Dockerfile
context: .
restart: always
volumes:
- "./Responder/logs/:/logs/"
ports:
- "445:445"
- "137:137"
- "138:138"
- "139:139"
mysql-server:
build:
dockerfile: mysql.Dockerfile
context: .
image: mysql:8.0.19
restart: always
environment:
MYSQL_ROOT_PASSWORD: PhishAPIDef@ulT
DB_HOST:
volumes:
- mysql-data:/var/lib/mysql
- "./db/:/docker-entrypoint-initdb.d/"
volumes:
mysql-data: