-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (50 loc) · 1.04 KB
/
docker-compose.yaml
File metadata and controls
50 lines (50 loc) · 1.04 KB
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
version: '3'
services:
openvpn-hackthebox:
build: docker-images/openvpn-client
networks:
ctfsuite-net:
ipv4_address: 172.28.28.2
sysctls:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv6.conf.default.disable_ipv6: 0
net.ipv6.conf.lo.disable_ipv6: 0
net.ipv4.conf.all.forwarding: 1
cap_add:
- NET_ADMIN
devices:
- "/dev/net/tun"
volumes:
- ./hackthebox.ovpn:/openvpn/ovpn.ovpn
tinyproxy:
build: docker-images/tinyproxy
networks:
ctfsuite-net:
ipv4_address: 172.28.28.3
cap_add:
- NET_ADMIN
ports:
- "3301:3301"
expose:
- "3301"
ctfsuite:
build: docker-images/ctfsuite
networks:
ctfsuite-net:
ipv4_address: 172.28.28.4
cap_add:
- NET_ADMIN
volumes:
- ./pwd:/pwd
- home:/root
# - ./.bash_history:/root/.bash_history
# command: tail -f /dev/null
tty: true
networks:
ctfsuite-net:
ipam:
driver: default
config:
- subnet: 172.28.28.0/24
volumes:
home: