-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 1.12 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
version: '3.7'
services:
ssh_honeypot:
container_name: ssh_honeypot
build:
context: .
dockerfile: Dockerfile
image: prajwal3498/ssh_honeypot:latest
tty: true
command: python honeypot.py --port 2222
volumes:
- .:/app
env_file:
- ./.env
ports:
- 2224:2222
environment:
- CHOKIDAR_USEPOLLING=true
ssh_honeypot_downloader:
container_name: ssh_honeypot_downloader
build:
context: .
dockerfile: Dockerfile
image: prajwal3498/ssh_honeypot_downloader:latest
tty: true
command: python honeypot_downloader.py
volumes:
- .:/app
env_file:
- ./.env
environment:
- CHOKIDAR_USEPOLLING=true
depends_on:
- "ssh_honeypot_redis_db"
ssh_honeypot_redis_db:
container_name: ssh_honeypot_redis_db
image: redis:6.0.7-alpine
command: redis-server --requirepass password
env_file:
- ./.env