-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-kali.yml
28 lines (23 loc) · 1.02 KB
/
docker-compose-kali.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
version: '3.8'
services:
blackcart:
build: ./Dockerfile.kali
image: kalitest
ports:
- "8080:8080"
- "8090:8090"
environment:
- TELEGRAM_API_KEY=your_telegram_api_key
- TELEGRAM_CHAT_ID=your_telegram_chat_id
- TERM=xterm
- GOTTY_USERNAME=blackcart
- GOTTY_PASSWORD=blackcart
volumes:
- ./data:/work_dir/data # Mount ./data from the host to /work_dir/data in the container
# Use the following command if you want to enable the web terminal with HTTP and basic auth
#command: ["sh", "-c", "gotty -p 8090 -w --credential blackcart:blackcart /bin/bash"]
command: ["sh", "-c", "/work_dir/startservices.sh"]
# Use the following command if you want to enable TLS with basic auth
#command: ["sh", "-c", "gotty --tls --tls-crt /etc/gotty/cert.pem --tls-key /etc/gotty/key.pem -w --credential $GOTTY_USERNAME:$GOTTY_PASSWORD /bin/bash"]
# Uncomment the following line if you want the service to restart automatically
# restart: unless-stopped