-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (64 loc) · 1.42 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
66
67
68
69
70
services:
kali:
hostname: kalilinux.lab
build:
context: ./
dockerfile: Dockerfile.kali
image: 'csalab/kalilinux-docker:latest'
#restart: always
privileged: true
cap_add:
- NET_ADMIN
ports:
- ${BIND:-0.0.0.0:8080}:8080
environment:
- SHELL=/bin/bash
- PASSWORD=${PASSWORD:-kalilinux}
entrypoint: ["/bin/bash", "/startup.sh"]
networks:
lan1:
ipv4_address: 192.168.56.80
tty: true
ubuntu-dns:
build:
context: .
dockerfile: Dockerfile.dns
container_name: ubuntu-dns
networks:
lan1:
ipv4_address: 192.168.56.79
owasp:
build:
context: .
dockerfile: Dockerfile.owasp
container_name: owasp
networks:
lan1:
ipv4_address: 192.168.56.102
webtop:
image: lscr.io/linuxserver/webtop:fedora-kde
container_name: webtop
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
privileged: true
networks:
lan1:
ipv4_address: 192.168.56.101
# Espone la porta 3000 (o altra) per l'interfaccia web
ports:
- 3000:3000
shm_size: "2gb"
#restart: unless-stopped
dns:
- 192.168.56.79
networks:
lan1:
driver: macvlan
driver_opts:
parent: wlp3s0 # Sostituisci con l'interfaccia fisica appropriata del tuo host
ipam:
config:
- subnet: 192.168.56.0/24
gateway: 192.168.56.1