-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
32 lines (28 loc) · 1.28 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
version: '3.8'
services:
blackcart:
image: erdemozgen/blackcart:latest
build: .
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:
- ./scan_data:/work_dir/scan_data # Mount ./scan_data from the host to /work_dir/scan_data in the container
- ./data/.blackdagger/dags:/root/.blackdagger/dags
- ./data/.blackdagger/logs:/root/.blackdagger/logs
- ./data/.blackdagger/suspend:/root/.blackdagger/suspend
- ./data/.blackdagger/data:/root/.blackdagger/data
- ./work_dir:/work_dir
# Use the following command if you want to enable the web terminal with HTTP and basic auth
#command: ["sh", "-c", "gotty -w --credential blackcart:blackcart /bin/bash"]
command: ["sh", "-c", "/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