-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
61 lines (54 loc) · 1.23 KB
/
docker-compose.yml
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
54
55
56
57
58
59
60
61
# Documentation: https://github.com/compose-spec/compose-spec/blob/master/spec.md
# Purpose: Build local containers for the Mutillidae environment
services:
database:
container_name: database
image: docker.io/webpwnized/mutillidae:database
networks:
- datanet
database_admin:
container_name: database_admin
depends_on:
- database
image: docker.io/webpwnized/mutillidae:database_admin
ports:
- 127.0.0.1:81:80
networks:
- datanet
www:
container_name: www
depends_on:
- database
- directory
image: docker.io/webpwnized/mutillidae:www
ports:
- 127.0.0.1:80:80
- 127.0.0.1:443:443
networks:
- datanet
- ldapnet
directory:
container_name: directory
image: docker.io/webpwnized/mutillidae:ldap
volumes:
- ldap_data:/var/lib/ldap
- ldap_config:/etc/ldap/slapd.d
ports:
- 127.0.0.1:389:389
networks:
- ldapnet
directory_admin:
container_name: directory_admin
depends_on:
- directory
image: docker.io/webpwnized/mutillidae:ldap_admin
ports:
- 127.0.0.1:82:80
networks:
- ldapnet
volumes:
ldap_data:
ldap_config:
networks:
datanet:
ldapnet: