-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
66 lines (60 loc) · 1.32 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
62
63
64
65
# How to use :
# docker-compose up -d
# docker-compose down
# --------------------------------------------------------------------------------
version: '2'
services:
attacker:
hostname: attacker
container_name: docker_attacker
build:
context: ./attacker
dockerfile: ./Dockerfile
ports:
- 4444:4444
stdin_open: true
tty: true
privileged: true
entrypoint: ["sh"]
networks:
vpn:
ipv4_address: 172.168.50.2
restart: on-failure
nexus_oss_21409:
hostname: NEXUS_OSS_21409
container_name: CVE-2019-5475
image: sonatype/nexus:2.14.9-01
environment:
MAX_HEAP: 768m
MIN_HEAP: 256m
volumes:
- ./nexus/2_14_09:/sonatype-work
ports:
- 8009:8081
networks:
vpn:
ipv4_address: 172.168.50.9
restart: unless-stopped
nexus_oss_21414:
hostname: NEXUS_OSS_21414
container_name: CVE-2019-15588
image: sonatype/nexus:2.14.14-01
environment:
MAX_HEAP: 768m
MIN_HEAP: 256m
volumes:
- ./nexus/2_14_14:/sonatype-work
ports:
- 8014:8081
networks:
vpn:
ipv4_address: 172.168.50.14
restart: unless-stopped
networks:
vpn:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.168.50.0/24
gateway: 172.168.50.1