-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
53 lines (49 loc) · 946 Bytes
/
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
53
volumes:
teler-proxy:
networks:
teler-proxy:
services:
teler-proxy:
build:
context: ../
args:
VERSION: docker
depends_on:
- dvwa
volumes:
- ./config/teler-waf:/data
networks:
- teler-proxy
ports:
- 8080:1337
command:
- --dest
- dvwa:80
- --conf
- /data/config.yaml
restart: unless-stopped
dvwa:
build: https://github.com/digininja/DVWA.git
environment:
- DB_SERVER=db
depends_on:
- db
volumes:
- ./config/dvwa:/var/www/html/config
networks:
- teler-proxy
ports:
- 80
restart: unless-stopped
db:
image: docker.io/library/mariadb:10
environment:
- MYSQL_ROOT_PASSWORD=dvwa
- MYSQL_DATABASE=dvwa
- MYSQL_USER=dvwa
- MYSQL_PASSWORD=p@ssw0rd
volumes:
- teler-proxy:/var/lib/mysql
networks:
- teler-proxy
restart: unless-stopped